Support the ongoing development of →
Views Architecture
Last updated 2 years ago.

Yes you will want to create a custom ViewServiceProvider that extends laravel's service provider,

then copy and paste the register method from laravels to yours, followed by creating your own CompilerEngine class.

Within your service provider add use "your/namespace/CompilerEngine"

Then within your CompilerEngine class extend the original and rewrite the method in question.


Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.