gondai yosuke
gondai yosuke

Reputation: 609

failed add intervention image at lumen 8

i have lumen 8 installed on my host. i want to add image editor with Intervention. i did these:

i still new with this setup. and most tutorial i found is installing on laravel not lumen. need help where i miss or wrong in this steps. or is there any advice for retrieve scaleable image with lumen.

Upvotes: 1

Views: 819

Answers (1)

Rano Paimin
Rano Paimin

Reputation: 199

Try:

$app->withFacades(true, [ 'Intervention\Image\Facades\Image' => 'Image', ]);

$app->register(Intervention\Image\ImageServiceProvider::class);

Upvotes: 1

Related Questions