Download the PHP package quazardous/imagestack without Composer

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

ImageStack

A PHP image serving framework.

The main goal is to provide a robust framework to create an "on the fly" image thumbnailer generator similar to imagecache / image style in Drupal.

This project is only the framework part. The framework is brick designed so that you can put together your own image serving project and add special bricks.

Framework integration:

Installation

composer require quazardous/imagestack

Concept

Typical flow

This describes the typical processing we want to achieve.

When the front controller handles an image HTTP request:

Ideally the image file will be stored so that the next HTTP request will be statically served.

Lexicon / bricks

Image path

The path of the image that could come from the front controller.

See ImageStack\Api\ImagePathInterface.

Image

The image content we are willing to serve.

See ImageStack\Api\ImageInterface.

Image backend

Something that can provide image content.

See ImageStack\Api\ImageBackendInterface.

Image manipulator

Service that can modify/transform/optimize the image content.

See ImageStack\Api\ImageManipulatorInterface.

Storage backend

Something where we can store the image content.
Typically we could store it onto the file system so that next HTTP query will be statically serve.

See ImageStack\Api\StorageBackendInterface.

Image stack

Top of the iceberg class.

See ImageStack\Api\ImageStackInterface.

Usage

Code example

This pseudo controller creates an image stack that will:

Implementation

Image stack

A basic image stack.

See ImageStack\ImageStack

Image backends

File image backend

See ImageStack\ImageBackend\FileImageBackend

HTTP image backend

See ImageStack\ImageBackend\HttpImageBackend

Cache image backend

Add a cache layer before an image backend.

See ImageStack\ImageBackend\CacheImageBackend

Sequential image backend

Sequentially fetch image from a queue of image backends and return the first match.

See ImageStack\ImageBackend\SequentialImageBackend

Image manipulators

Converter image manipulator

Convert image type.

See ImageStack\ImageManipulator\ConverterImageManipulator

Optimizer image manipulator

Optimize image.

See ImageStack\ImageManipulator\OptimizerImageManipulator

jpegtran wrapper, see ImageStack\ImageOptimizer\JpegtranImageOptimizer.

pngcrush wrapper, see ImageStack\ImageOptimizer\PngcrushImageOptimizer.

Thumbnailer image manipulator

Create an image thumbnail with (path) rules.

See ImageStack\ImageManipulator\ThumbnailerImageManipulator

Path pattern rule, see ImageStack\ImageManipulator\ThumbnailRule\PatternThumbnailRule

You can associate path patterns to thumbnail formats:

Watermark image manipulator

Add watermark to images.

See ImageStack\ImageManipulator\WatermarkImageManipulator

Tests

Edit/adapt tests/config.php.

Dependencies / support

Tested against PHP 7.1.

Current implementation uses Imagine.

You will need either php-gd, php-gmagick or php-imagick.

Wrappers for external optimizer:

History

Credits

quazardous.

License

MIT


All versions of imagestack with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
imagine/imagine Version ^0.6
guzzlehttp/guzzle Version ^6.2
doctrine/cache Version ^1.6
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 quazardous/imagestack contains the following files

Loading the files please wait ....