Download the PHP package marcha/imagecow without Composer

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

Imagecow

Build Status Scrutinizer Code Quality

Created by Oscar Otero http://oscarotero.com [email protected]

What is Imagecow?

It's a php library to manipulate images to web.

Notes on 1.x version

The API in 1.x version changes a little bit (not much, only on create the instances).

How use it?

Use the static function Imagecow\Image::create() to load an image and returns an imageCow instance. This function has two arguments:

Crop the image

Resize the image

Resize and Crop the image

Rotate

Convert the image to other formats:

Save the image to a file

Execute multiple functions (resize, crop, resizeCrop, format)

This is useful to get images transformed dinamically using get variables: image.php?transform=resize,200,300|format,png

Show the image

Other functions:

Responsive images

Include the Imagecow.js library in the html page and execute the function Imagecow.init();

This function saves a cookie with the client information (width, height, connection speed). You can configurate the cookie. The default values are:

In the server-side, use the cookie to generate the responsive operations:

Now you can transform the image according with the client dimmensions. The available options are:

You can use the same syntax than transform, but separate the "media-query" with ";".

Get me the image "my_picture.png" with resizeCrop to 800x600. If the max-width of the client side is 400, resize to 400.

Usage in PHP frameworks

For Laravel and PHP FuelPHP users you can use the wrapper by @kevbaldwyn: https://github.com/kevbaldwyn/image/

Other utils

IconExtractor. Class to extract the images from an .ico file and convert to png. Only for Imagick:

SvgExtractor. This class allows generate images from a svg file (usefull for browsers that don't support svg format):

Maintainers:


All versions of imagecow with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
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 marcha/imagecow contains the following files

Loading the files please wait ....