Download the PHP package falmar/eimage without Composer

On this page you can find all versions of the php package falmar/eimage. 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 eimage

eImage - Image upload, resize and crop!

Build Status

eImage it's a simple PHP Class to make Uploading and Editing Images even more easy!

A rewrite of a old Class (_image) originally written by Mark Jackson (mjdigital) all credits of main idea goes to him :D

Major changes from the original class:

Requirements

Examples

Upload Image

NOTE: If there is not an extension specified in 'NewName' parameter it will take the extension from the original image. NOTE2: You can specify a new extension with NewExtension property

Crop Image

NOTE: if you do not specify a NewName or Prefix parameter the original image will be override by the new crop method. You can also set the Duplicates to 'u' unique to create a new image instead of override

Resize Image

NOTE: You may want to specify resize properties such as AspectRatio, Oversize, ScaleUp according to your needs.

Parameters and their default values

NewName

Specify the new name for your image.

UploadTo

Specify where the new image is going to be uploaded to.

ReturnType

SafeRename

Duplicates

If a there is an existing file:

EnabledMIMEs

An array that contain the MIME Types the eImage Class will be allow to upload.

DisabledMIMEs

If this property is set with values it will forbid to upload the MIME Types or Extensions specified.

NOTE: Any other MIME Type or Extension THAT IS NOT SET HERE will be allowed to upload.

Source

Full path to a file automatically set after image upload for easy access resize and crop methods.

CreateDir

If set to true create a directory if not exist (UploadTo | NewPath).

ImageQuality

Integer [1-100]%.

NewExtension

Apply a new extension to the image (.jpg, .png, .gif).

Prefix

Specify a new prefix for the image.

NewPath

Specify path for the new image, it apply only for crop() and resize() methods.

AspectRatio

Set true or false if you want to maintain or not your image aspect ratio.

Oversize

If true it will oversize the image when width > height or the otherwise.

ScaleUp

Set true if want allow the image to scale up from a small size to a bigger one.

PadColor

Hexadecimal color string for the image background if does not fit the canvas, default is 'transparent'.

FitPad

Set true if want to make use of the Position to fit the image in the canvas when the new size does not fit and AspectRatio is true.

Position

Set the position of source in the canvas:


All versions of eimage with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
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 falmar/eimage contains the following files

Loading the files please wait ....