linkorb / imgproxy
ImgproxyService use imgproxy
Installs: 1 254
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 0
Open Issues: 0
Requires (Dev)
- symfony/dotenv: ^4.0
This package is auto-updated.
Last update: 2024-10-25 13:30:49 UTC
README
ImgproxyService use imgproxy, is a fast and secure standalone server for resizing and converting remote images. The main principles of imgproxy are simplicity, speed, and security.
imgproxy document for more detials.
Installation
composer require linkorb/imgproxy
Setup
composer install # install php dependencies cp .env.dist .env # Create config file from template/.dist file edit .env # Edit configuration, database settings etc ./vendor/bin/envoi validate # Run command validate based on meta file .env.yaml
Generate credentials
If you need a random key/salt pair real fast, you can quickly generate it using, for example, the following snippet
$ echo $(xxd -g 2 -l 64 -p /dev/random | tr -d '\n')
configure presets
more detail check persets
example
Find sample in /examples folder.