pir-b / thumbnail-mozaic
thumbnail mozaic generator
0.3.0
2017-07-13 14:34 UTC
Requires
- intervention/image: ^2.4
- php-ffmpeg/php-ffmpeg: ^0.9.5
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-02 15:18:41 UTC
README
This package has been build for been built and tested to work with Laravel 5+
Installation
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,
Configurations
- 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.