I have a couple of packages that have controllers and routes. For example the route admin/log points to my controller in the package which is in the vendor folder. The package also has a route.php which is included in the provider's boot method.
The reason for all these is that i can just install this package using composer and the controllers will always work with minor configuration. Is this a bad practice ? because if someone who is new to the package will wonder where this controller is being called.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community