{
"name": "artberg",
"require": {},
"autoload": {
"psr-4": {
"App\\": "app/"
}
}
}
require(__DIR__ . '/vendor/autoload.php');
After adding the autoload field, you have to re-rundump-autoload
to re-generate thevendor/autoload.php file
.
https://getcomposer.org/doc/01-basic-usage.md#auto...
vendor/autoload.php
.composer dump-autoload