mercredi 11 septembre 2019

Laravel Package Development - Separate config in package than frontend

I have developed a Laravel Package which uses Laravel Breadcrumbs (https://github.com/davejamesmiller/laravel-breadcrumbs) for breadcrumbs management in the CMS but I also want to use this class for the frontend.

It's working fine, however I can only have the one config breadcrumbs.php which controls the config for both the package breadcrumbs and any used on the frontend.

What I'd like to do is change the view that's used on the frontend only without it affecting the backend.

At the moment it merges them together - is there a clean solution for this without extending the breadcrumb classes and changing the logic to allow for multiple config files?

Thanks



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2LMzY0W
via IFTTT

Aucun commentaire:

Enregistrer un commentaire