Looking to hire Laravel developers? Try LaraJobs

laravel-tinify maintained by marvinosswald

Description
Laravel Facade for tinify API
Author
Last update
2016/06/13 17:56 (dev-master)
License
Links
Downloads
3 388
Tags

Comments
comments powered by Disqus

laravel-tinify

This package provides integration with the Tinify a.k.a TinyPNG API.

The package simply provides a Tinify facade that acts as a wrapper to the tinify/tinfiy-php

Installation

Install via composer by adding the following to your composer.json:

    ...
    "require": {
        "marvinosswald/laravel-tinify": "~1.0"
    }
    ...

Add service provider to config/app.php:

    ...
    marvinosswald\LaravelTinify\LaravelTinifyServiceProvider::class
    ...

Add alias to config/app.php:

    ...
    'Tinify' => marvinosswald\LaravelTinify\Facades\Tinify::class
    ...

Configuration

Set a env variable "TINIFY_APIKEY" with your issued apikey

This package is available under the MIT license.