image watermark on image laravel 8

Solutions on MaxInterview for image watermark on image laravel 8 by the best coders in the world

showing results for - "image watermark on image laravel 8"
Roberta
09 Oct 2016
1//composer  require intervention/image 
2$img = Image::make(public_path('image.jpg')); //your image I assume you have in public directory
3$img->insert(public_path('watermark.jpg'), 'top-right', 10, 10); //insert watermark in (also from public_directory)
4$img->save(public_path('image.jpg')); //save created image (will override old image)
5