Laravel-Blade
Laravel-Blade copied to clipboard
Unrecognized extension in file
Hello,
i'm using this package in a WordPress Environment, basically i'm trying to let blade control my output however when more than one package using this class exists the engine cannot recognize the file extensions of blade templates
any ideas why the package would fire this error?
I have the same error with a totally different setup (not WordPress related).
The exact same call $this->blade->view()->make('file', $data)->render()
works fine from PHPUnit but fails from my actual code.
Apparently the issue might have been that I required two different autoload.php
(from two different folders elsewhere). After I merged the two into a single composer.json
the issue was solved.