protected function createDirectories()
    {
        if (! is_dir(base_path('resources/views/layouts'))) {
            mkdir(base_path('resources/views/layouts'), 0755, true);
        }

        if (! is_dir(base_path('resources/views/emails'))) {
            mkdir(base_path('resources/views/emails'), 0755, true);
        }

        if (! is_dir(base_path('resources/views/errors'))) {
            mkdir(base_path('resources/views/errors'), 0755, true);
        }

        if (! is_dir(base_path('resources/views/partials'))) {
            mkdir(base_path('resources/views/partials'), 0755, true);
        }

        if (! is_dir(base_path('resources/views/profile'))) {
            mkdir(base_path('resources/views/profile'), 0755, true);
        }

        if (! is_dir(base_path('resources/views/profile/partials'))) {
            mkdir(base_path('resources/views/profile/partials'), 0755, true);
        }

        if (! is_dir(base_path('resources/views/users'))) {
            mkdir(base_path('resources/views/users'), 0755, true);
        }

        if (! is_dir(base_path('resources/views/auth/passwords'))) {
            mkdir(base_path('resources/views/auth/passwords'), 0755, true);
        }

        if (! is_dir(public_path('plugins'))) {
            mkdir(public_path('plugins'), 0755, true);
        }

        if (! is_dir(base_path('resources/assets/less'))) {
            mkdir(base_path('resources/assets/less'), 0755, true);
        }

        if (! is_dir(base_path('resources/assets/js'))) {
            mkdir(base_path('resources/assets/js'), 0755, true);
        }
    }