marvinosswald / laravel-tinify
Laravel Facade for tinify API
Installs: 3 325
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 4
Forks: 1
Open Issues: 2
Requires
- php: >=5.5.0
- illuminate/support: ~5.2
- tinify/tinify: *
This package is not auto-updated.
Last update: 2024-03-02 16:04:40 UTC
README
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.