PHPackages                             bencagri/photon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. bencagri/photon

ActiveDev[Image &amp; Media](/categories/media)

bencagri/photon
===============

1.0.2(8y ago)0351PHP

Since Feb 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/bencagri/photon-wrapper)[ Packagist](https://packagist.org/packages/bencagri/photon)[ RSS](/packages/bencagri-photon/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (1)

[![](https://raw.githubusercontent.com/bencagri/photon-wrapper/master/examples/images/main.jpg)](https://raw.githubusercontent.com/bencagri/photon-wrapper/master/examples/images/main.jpg)

JETPACK PHOTON WRAPPER
----------------------

[](#jetpack-photon-wrapper)

### What is Photon?

[](#what-is-photon)

Photon is an image acceleration and modification service for Jetpack-connected WordPress sites. Converted images are cached automatically and served from the WordPress.com CDN. Images can be cropped, resized, and filtered by using a simple API controlled by GET query arguments. When Photon is enabled in Jetpack, images are updated on the fly.

### Why wrapper?

[](#why-wrapper)

This wrapper allows you to use photon on your host (servers) and its fully object oriented.

### Installation

[](#installation)

```
$ composer require bencagri/photon

```

> Notice: to use it on your servers, you need to install [gmagick](https://pecl.php.net/package/gmagick) package

Sample implementation.

```
