ucraft-com/laravel-tinify
Composer 安装命令:
composer require ucraft-com/laravel-tinify
包简介
Laravel Facade for tinify API
README 文档
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": { "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.
统计信息
- 总下载量: 339
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-04-21