linkorb/imgproxy

ImgproxyService use imgproxy

v1.0.0 2019-05-09 14:04 UTC

This package is auto-updated.

Last update: 2021-08-25 06:52:31 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.