You need to update your composer.json classmap, before running dump-autoload. Inside composer.json file add the path to your class to this section
"autoload": {
"classmap": [
"app/commands",
...
"app/path/to/your/class"
]
},
Here is a great example on how to build your custom filter class http://daylerees.com/codebright/filters
DavidDomain said:
You need to update your composer.json classmap, before running dump-autoload. Inside composer.json file add the path to your class to this section
"autoload": { "classmap": [ "app/commands", ... "app/path/to/your/class" ] },
Here is a great example on how to build your custom filter class http://daylerees.com/codebright/filters
Thank you for your replay. I found the same file in the gibhub i replaced it and worked without to add it in the composer
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community