Log1x / blade-svg-sage

A simple package to add support for Blade SVG by Adam Wathan to Roots Sage.
MIT License
72 stars 13 forks source link

Call to undefined function app() #3

Closed strarsis closed 7 years ago

strarsis commented 7 years ago

I required 'nothingworks/blade-svg' using composer - I get an error message when loading the page:

[...]
FatalThrowableError: Call to undefined function app() in /srv/www/vendor/nothingworks/blade-svg/src/helpers.php:25 [...]

I installed blade-svg for the site (Bedrock project), so the extra config in composer.json was already in place.

Log1x commented 7 years ago

You required the wrong repository. This is merely a fork of blade-svg to be compatible with Sage's implementation of Blade, at least until we are able to register service containers; in which case this will become deprecated.

strarsis commented 7 years ago

Thanks, I required 'log1x/blade-svg-sage' with composer require log1x/blade-svg-sage now.