Support the ongoing development of Laravel.io →
Configuration
Last updated 2 years ago.
0

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

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.