I'm trying to put all my reusable code in packages to get them easily into other projects. I want to make a different package for different responsibilities of the code, to keep it clean. So, lets assume I've done that, now I would like to bundle all these packages in to a parent package for even easier distribution.
I have tried that, but I seem unable to reference the methods within the sub-packages, even though the service provider is loaded in the app (I verified by checking dd($app) in my view.). The error I'm getting is "Method xxxx does not exist" when trying to run a method from one of the sub-packages. If I install each sub-package manually as its own package, then everything works.
Any ideas what may be causing this?
Thanks! ~Mike
Hey Mike,
Did you manage to solve your issue?
I am interested in doing something similar and would love to see what you have done!
Thanks, Damian
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community