gguney/brush

Laravel 的图片处理和水印库。

dev-master 2017-10-08 10:29 UTC

This package is auto-updated.

Last update: 2024-09-29 04:49:15 UTC


README

只需包含 Brush 并将其与您的 Laravel 项目一起使用。您可以减小图片大小并插入水印。

要求

  • Brush 与 PHP 5.6 或更高版本兼容。

安装

$ composer require gguney/brush

用法

将包的 Service Provider 添加到您的 config/app.php 配置文件中

...
        GGuney\Brush\BrushServiceProvider::class,
...

然后在 cmd 中写下这一行。

$ php artisan vendor:publish

这将发布 brush.php 配置文件到您的应用程序的配置文件夹。因此,您只需更改此配置文件即可更改视图。

作者

戈克汗·古内伊 - gokhanguneygg@gmail.com

许可证

Brush 在 MIT 许可证下授权 - 有关详细信息,请参阅 LICENSE 文件