Answer the question
In order to leave comments, you need to log in
Laravel autoload third party files?
Laravel 4.2
composer.json
"autoload": {
"classmap": [
"app/controllers",
...
"app/helpers",
"app/libs"
],
"files": [
"app/libs/simple_html_dom.php"
],
"psr-0": {
"app": "app/libs"
}
},
dd(get_included_files());
Answer the question
In order to leave comments, you need to log in
In the console, run:
To have composer update its service files. How do you think he will know that there has been a change in composer.json?
And something is not entirely clear to me, why is the question called "Laravel autoload"? The files are connected not by laravel, but by composer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question