This package has been build for been built and tested to work with Laravel 5+
With Composer :
composer require pir-b/thumbnail-mozaic
- Add the Service Provider to providers array
PIRB\ThumbnailGenerator\ThumbnailGeneratorProvider::class,
- Add the Facade to aliases array
'ThumbnailGenerator' => PIRB\ThumbnailGenerator\Facade\ThumbnailGenerator::class,
- Publish the configuration file , this will publish thumbnailgenerator.php file to your application config directory.
php artisan vendor:publish
- Configure the required FFMpeg configurations.
- FFMpeg will autodetect ffmpeg and ffprobe binaries. If you want to give binary paths explicitly, you can configure them in .env file.