https://github.com/linkorb/imgproxy
ImgproxyService
https://github.com/linkorb/imgproxy
Last synced: 4 months ago
JSON representation
ImgproxyService
- Host: GitHub
- URL: https://github.com/linkorb/imgproxy
- Owner: linkorb
- Created: 2019-05-08T14:38:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-25T06:36:21.000Z (over 4 years ago)
- Last Synced: 2025-02-06T13:16:35.073Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# imgproxy
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](https://github.com/imgproxy/imgproxy#documentation)** for more detials.
## Installation
```bash
composer require linkorb/imgproxy
```
## Setup
```sh
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
```bash
$ echo $(xxd -g 2 -l 64 -p /dev/random | tr -d '\n')
```
## configure presets
more detail check [persets](https://github.com/imgproxy/imgproxy/blob/master/docs/presets.md)
### example
Find sample in /examples folder.