Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel Custom Package Route Not working

Tags:

php

laravel

I have tried to develop a custom package but ended with errors enter image description here

I have a package structure in my below as given below:

enter image description here

can any body tell me why the package route is not working or i have done some errors?If you can provide me the links for the development of the package in laravel 5.2 then i will be very appreciated. Please i need help.

composer enter image description here

service provider enter image description here

like image 728
Lal Kumar Rai Avatar asked Dec 05 '25 05:12

Lal Kumar Rai


1 Answers

Same issue on Laravel 5.3 custom package routes will not be working.

First make sure you have registered your service provider in "config/app.php" section "providers".

And second it MUST BE after the Laravel service providers, but before the App service providers.

like image 194
Milan Avatar answered Dec 07 '25 21:12

Milan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!