Download the PHP package mrcnpdlk/image-web-tool without Composer

On this page you can find all versions of the php package mrcnpdlk/image-web-tool. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package image-web-tool

Image web tool

Simple image web tool manipulation package - other than all.

Instalation

The best way is cloning the repo with specific branch name. Stable releases are sown here.

Configuration

In folder config copy file config.json.dist and rename to config.json. Edit file and set or delete options:

Default font BlowBrush is included to the project.

Caching

For better performance for each request cache is used. REDIS if enabled. If not FILES is used.

Request url schema

Example

params and fileName are passed to the api.php file.

Request Options (params)

Option Description Values Notes
w width value in px
h height value in px
c crop mode enum: scale,fit,fit-margin,fill
q quality 0-100 only JPG format supported
r rotate angle in degrees
bgc background color HEX format
e effect enum: g (gamma), n (negative), gr (grayscale), c (colorize), b (blur)
eo effect option string,int - depends on effect type, see table below
Effect [e] Description Option [eo] Default
g gamma gamma correcion 1
n negative
gr grayscale
c colorize color in HEX format #FFFFFF
b blur sigma 1

Nginx Configuration

Examples

/h_100/demo.jpg

Height is set. Default FIT crop mode is enabled.

alt text

/h_200,e_b,eo_5/demo.jpg

Blur effect.

alt text

/h_200,e_b,eo_5/demo.jpg

Colorization effect with pink color.

alt text

/h_200,e_n/demo.jpg

Negative effect.

alt text

/h_200,q_2/demo.jpg

Less quality.

alt text

/h_200,w_200,c_fill/demo.jpg

FILL mode.

alt text

/h_200,w_200,c_fit/demo.jpg

FIT mode.

alt text

/h_200,w_200,c_fit-margin/demo.jpg

FIT MARGIN mode.

alt text

/h_200,w_200,r_20/demo.jpg

ROTATE mode.

alt text

/w_200,h_100/demo.jpg

File not found. Placeholder is shown.

alt text

/w_200,h_100/demo.jpg

Placeholder is shown.

alt text


All versions of image-web-tool with dependencies

PHP Build Version
Package Version
Requires roave/security-advisories Version dev-master
php Version >=7.0
ext-imagick Version *
mrcnpdlk/pfc-adapter Version ~0.1.0
slim/slim Version ~3.9.2
imagine/imagine Version ~0.7.1
hassankhan/config Version ~0.11.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mrcnpdlk/image-web-tool contains the following files

Loading the files please wait ....