CheetahO php library
Official CheetahO library for PHP, (*1)
If you're using [Composer], you can simply add a dependency on cheetaho/cheetaho-php
to your project's composer.json
file., (*2)
{ "require": { "cheetaho/cheetaho-php": "dev-master" } }
Alternatively you can also execute this command in your project root directory:, (*3)
composer require cheetaho/cheetaho-php dev-master
If you already have git, you can download the CheetahO-PHP library with the git command:, (*4)
git clone https://github.com/CheetahO/cheetaho-php.git /path/to/include/cheetaho-php
Also may download the PHP files from GitHub and place them within your PHP project:, (*5)
https://github.com/CheetahO/cheetaho-php/archive/master.zip
First of all you need to create your account in CheetahO panel (http://app.cheetaho.com/auth/login) and get your unique API Key. You will find it under "API Credentials" (http://app.cheetaho.com/admin/api-credentials)., (*6)
At this moment you can optimize your images in this ways - by sending an image file directly to CheetahO API. You can use this library for work with our API., (*7)
More information how to use API you can find here: http://cheetaho.com/api-documentation/, (*8)