stas-bool / gifer
Generate gif animation from text
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/stas-bool/gifer
Requires
- php: >=7.3
- ext-iconv: *
- ext-imagick: *
- ext-mbstring: *
Requires (Dev)
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2025-12-10 12:36:45 UTC
README
Generate gif animation from text
Try it: http://t.me/VexyTextyGifer_bot
Usage:
composer require stas-bool/gifer
<?php require_once __DIR__.'/vendor/autoload.php'; $text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'; $gif = Gifer\Gifer::createGif( __DIR__.'/NotoSans-Regular.ttf', //font file $text, //text '#000000', //background color in hex format '#FFFFFF', //font color in hex format 5 //speed 1(slowest) - 10(fastest), ); file_put_contents('/tmp/test.gif', $gif);