The command in the guide is wrong, looks like you're after php artisan controller:make UserController
Although that shouldn't cause the problem of the missing autoloader. Try running composer dump-autoload
and php artisan optimize
Hi iWader
Thanks for the reply. Running composer dump-autoload gives me this warning
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/phar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
php artisan optimise gives me this fatal error.
Fatal error: Class 'Patchwork\Utf8\Bootup' not found in /home/jwstuffi/public_html/laravel-stuff/laravel-master/bootstrap/autoload.php on line 46
Think I need to re-install.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community