descom / image-x
Image manipulation to web
Installs: 4 606
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
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-10-18 15:49:07 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