descom / image-x
Image manipulation to web
Installs: 4 662
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 1
Requires
- php: ^8.0
- intervention/image: ^2.7
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.4
- phpstan/phpstan: ^1.2
- phpunit/phpunit: ^9.3|^10.0|^10.5
This package is auto-updated.
Last update: 2024-11-18 16:00:14 UTC
README
Package to PHP to manipulate image to the web.
Install
Via Composer
composer require descom/image-x
Usage
use Descom\ImageX\ImageX; return ImageX::from($filename) ->transform('w_200,h_200,bg_000000') ->auto() // Auto format to image; webp, jpg ->response(); // ->save($otherFilename);
Testing
composer test