[英]Laravel Custom Package Route Not working
I have tried to develop a custom package but ended with errors 我试图开发一个自定义程序包,但以错误结束
I have a package structure in my below as given below: 我的下面有一个包结构,如下所示:
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. 任何人都可以告诉我为什么包装路线不起作用或我做了一些错误吗?如果您可以为我提供laravel 5.2中包装开发的链接,那么我将不胜感激。 Please i need help.
请我需要帮助。
Same issue on Laravel 5.3 custom package routes will not be working. Laravel 5.3自定义包路由上的相同问题将无法正常工作。
First make sure you have registered your service provider in "config/app.php" section "providers". 首先,请确保您已在“ config / app.php”部分的“提供者”中注册了服务提供商。
And second it MUST BE after the Laravel service providers, but before the App service providers. 其次,它必须在Laravel服务提供商之后,但在App服务提供商之前。
对我来说,在Laravel 5.3上,它在我将它放在config / app.php的“ providers”数组中之后才起作用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.