arjanwestdorp / laravel-imaginary-client
imaginary 客户端的 Laravel 实现
1.4.0
2020-02-05 08:54 UTC
Requires
- php: >=5.6.0
- arjanwestdorp/imaginary-client: ^1.0.6
- illuminate/support: 5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*
Requires (Dev)
- orchestra/testbench: ~3.4.2
- phpunit/phpunit: 5.7.1
README
此包是 imaginary 客户端 的 Laravel 实现。更多关于此客户端的信息可以在 https://github.com/arjanwestdorp/imaginary-client 上找到。
安装
推荐通过 composer 安装客户端
composer require arjanwestdorp/imaginary-client
注册服务提供者和可选的外观
// config/app.php 'providers' => [ ... ArjanWestdorp\Imaginary\Laravel\ImaginaryServiceProvider::class, ]; 'aliases' => [ ... 'Imaginary' => ArjanWestdorp\Imaginary\Laravel\Imaginary::class, ];
最后,您需要将这些两个键添加到您的 .env
文件中
IMAGINARY_CLIENT=
IMAGINARY_URL=
可选地,您可以发布配置文件
php artisan vendor:publish --provider="ArjanWestdorp\Imaginary\Laravel\ImaginaryServiceProvider" --tag="config"
安全性
如果您发现任何安全问题,请发送电子邮件至 arjanwestdorp@gmail.com 而不是创建一个问题。
致谢
许可
MIT 许可证(MIT)。请参阅 许可文件 了解更多信息。