Conflicting blade directives from different packages
I have 2 packages. One I installed and want to use, the other is required by another package I want to use. The drama is they both use the same helper function seo(). Is there a way I can manually force the one I want to use to work?
@aarontharker There’s nothing you can really do if they both try and declare Blade directives with the same name, unless at least one of the packages gives you the ability to disable their Blade directives.
I want to use ralphjsmit/laravel-seo, but archtechx/laravel-seo is set as a requirement for larazeus/core, which is required by the larazeus/sky filament plugin I want to use.
I'm guessing the 2 packages causing the issue are forks of some other package from the past, which is where the issue came from.
@aarontharker Can you not use the functionality provided by archtechx/laravel-seo then, if it’s set as a dependency of another package you’re requiring? What does ralphjsmit/laravel-seo do that the other package doesn’t?
@martinbean That is what I ended up doing. I wanted to use the other package because it has extra features the required one doesn't provide, but I've built those myself manually.