There is no proper documentation/tutorial on creating a package.
I'm trying to create a microservice that'll work with Lumen and Laravel apps, but there is just NO tutorials nor documentation regarding directory structure, files needed etc.
@D9705996
I've read both of these, they don't cover the entire directory structure and the fact that by default your published assets are nested in vendor/name, which means your views have to be renamed to 'vendor.name.view' and so do all the other references.
Ofcourse, a workaround is to replace paths in the service provider - but I had to figure that out on my own.
To register your package's views with Laravel, you need to tell Laravel where the views are located. You may do this using the service provider's loadViewsFrom method.