TwigBridge icon indicating copy to clipboard operation
TwigBridge copied to clipboard

Lumen -- docs not quite accurate

Open tremby opened this issue 8 years ago • 2 comments

I'm trying to use this on Lumen. Right away I get

Class 'Symfony\Component\VarDumper\Cloner\VarCloner' not found

I suspect that the docs on which extensions to disable are not quite up to date.

If I disable Dump in addition to those it currently lists, I am on to a different error:

Cannot instantiate Twig extension 'TwigBridge\Extension\Laravel\Session': Unresolvable dependency resolving [Parameter #0 [ <required> $app ]] in class Illuminate\Support\Manager

If I then also disable Session the page loads successfully.

tremby avatar Apr 25 '16 19:04 tremby

have the same problems... so there is no more session support if disabled?

marcohofmann avatar Apr 27 '16 09:04 marcohofmann

You can resolve the first error by adding symfony/var-dumper via composer:
composer require symfony/var-dumper.

I'm still investigating on how to keep the Session extension.

abidon avatar Jul 20 '16 14:07 abidon