kfirba's avatar
Level 50

Do Laravel packages work with lumen?

Hello.

Do laravel packages work with lumen framework? Packages such as JWT, Eloquence, Fractal and more.

0 likes
5 replies
Kaspars's avatar

I'm using fractal with lumen. No problems so far.

MartelliEnrico's avatar

@kfirba as long as they don't require illuminate/framework, but even then, it will probably work (I didn't try it).

jekinney's avatar

Should all work. Worst case is you'll have to update some namespaces but most of the laravel framework is in the vender folder under laravel well luman specific is under the vender lumin folder.

Careful though, might just want to use laravel.

SP1966's avatar

If the package uses Laravel's config then you'll have to make some changes given all config values reside in the .env file in Lumen.

Please or to participate in this conversation.