Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

somenet77's avatar

How to use intervention image in lumen ?

i have unable to configure intervention in lumen. What is the process for configuring intervention in lumen.

i have added the intervention packages using composer. Then how to configure below process in lumen. which i have successfully configure in laravel.

In the $providers array add the service providers for this package.

'Intervention\Image\ImageServiceProvider'

Add the facade of this package to the $aliases array.

'Image' => 'Intervention\Image\Facades\Image'

0 likes
6 replies
somenet77's avatar

i have register the service provider also but still doesn't work.

nztim's avatar

Sorry can't help with the Facade issue, but you might just use it without the Laravel integration, it's not much different.

Please or to participate in this conversation.