PHPackages                             imageoptim/imageoptim - 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. [API Development](/categories/api)
4. /
5. imageoptim/imageoptim

ActiveLibrary[API Development](/categories/api)

imageoptim/imageoptim
=====================

ImageOptim API for PHP

1.3.1(9y ago)47412.9k↓35.7%7[3 issues](https://github.com/ImageOptim/php-imageoptim-api/issues)3BSD-2-ClausePHPPHP ^5.4 || ^7.0

Since May 21Pushed 4y ago5 watchersCompare

[ Source](https://github.com/ImageOptim/php-imageoptim-api)[ Packagist](https://packagist.org/packages/imageoptim/imageoptim)[ Docs](https://imageoptim.com/api)[ RSS](/packages/imageoptim-imageoptim/feed)WikiDiscussions master Synced 1mo ago

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

ImageOptim API PHP client
=========================

[](#imageoptim-api-php-client)

This library allows you to resize and optimize images using ImageOptim API.

ImageOptim offers [advanced compression, high-DPI/responsive image mode, and color profile support](https://imageoptim.com/features.html) that are much better than PHP's built-in image resizing functions.

Installation
------------

[](#installation)

The easiest is to use [PHP Composer](https://getcomposer.org/):

```
composer require imageoptim/imageoptim
```

If you don't use Composer, then `require` or autoload files from the `src` directory.

Usage
-----

[](#usage)

First, [register to use the API](https://im2.io/register).

```
