cheetaho/cheetaho-php

CheetahO php library

dev-master 2019-06-03 11:01 UTC

This package is not auto-updated.

Last update: 2024-11-13 19:40:39 UTC


README

Official CheetahO library for PHP

Installation

Composer

If you're using [Composer], you can simply add a dependency on cheetaho/cheetaho-php to your project's composer.json file.

{
    "require": {
        "cheetaho/cheetaho-php": "dev-master"
    }
}

Alternatively you can also execute this command in your project root directory:

composer require cheetaho/cheetaho-php dev-master

Git

If you already have git, you can download the CheetahO-PHP library with the git command:

git clone https://github.com/CheetahO/cheetaho-php.git /path/to/include/cheetaho-php

By Hand

Also may download the PHP files from GitHub and place them within your PHP project:

https://github.com/CheetahO/cheetaho-php/archive/master.zip

Getting Started

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).

How to use

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.

More information how to use API you can find here: http://cheetaho.com/api-documentation/