Closed bruno-barros closed 9 years ago
Have you tried rewriting my model to use Laravel classes instead? You could try to replace the references to Laravel\Blade with new onces. But it will probably not work out of the box, sence your are using Laravel 4 and the plugin uses classes from Laravel 3.
So, I got this with the help of this class https://github.com/PhiloNL/Laravel-Blade
I needed to do a tweak on BladeCompiler because of the $__env variable. I just changed for View:: and works just fine.
Tnks
Hi @mikaelmattsson I'm working in a repo combining Laravel with Wordpress. Your plugin is just what I want, but I would like to implement using the already View facade provided by the Laravel, but I tried without success. :-( Using your plugin works fine, but you did bring the Blade to WP. On my case I already have access to Laravel stuff. Could you help me? Any advice would be nice.
My repo:
https://github.com/bruno-barros/w.eloquent