Skip to content

ucraft-com/laravel-tinify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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": {
        "ucraft-com/laravel-tinify": "~1.0"
    }
    ...

Add service provider to config/app.php:

    ...
    UcraftCom\LaravelTinify\LaravelTinifyServiceProvider::class
    ...

Add alias to config/app.php:

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

Configuration

Set a env variable "TINIFY_APIKEY" with your issued apikey

This package is available under the MIT license.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%