5 months ago

Add laravel ServiceProvider in sub folder

Posted 5 months ago by NoxxieNl

Hiya all,

Currently I am creating a composer package that is not depending on Laravel, however I would like to add laravel support for it (ServiceProvider, Fascade ed.).

Is it smart to add it to the main package and just put the files inside a laravel directory, or create a different package for laravel that just includes the depedency of the other composer package?

I think its kinda overhead to create 2 packages for it...

Please sign in or create an account to participate in this conversation.