spatie / laravel-varnish

Making Varnish and Laravel play nice together
https://freek.dev/663-using-varnish-on-a-laravel-forge-provisioned-server
MIT License
406 stars 44 forks source link

Lumen supported? #26

Closed Yorgovan closed 6 years ago

Yorgovan commented 6 years ago

Can this work on Lumen also?

I installed it, set $app->register(Spatie\Varnish\VarnishServiceProvider::class); in app.php and tried to publish config file but it returns Call to undefined function Spatie\Varnish\config_path()

freekmurze commented 6 years ago

I'm not a Lumen user, so I haven't researched how to get it up and running in Lumen.

owenvoke commented 6 years ago

Looks like config_path() is a Laravel-only function.

Yorgovan commented 6 years ago

I did make it work using this: config_path function for Lumen framework https://github.com/laravelista/lumen-vendor-publish

spatie-bot commented 6 years ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.