tendersrl/bugsnag-deployer-recipe
最新稳定版本:v1.0.1
Composer 安装命令:
composer require tendersrl/bugsnag-deployer-recipe
包简介
Simple package to set your app version on Bugsnag when deploying
README 文档
README
Simple package to set your app version on Bugsnag in Laravel project when deploying
Description
This package provides a Deployer recipe to let you call Bugsnag php artisan bugsnag:deploy command in your Laravel project when deploying.
Install
Via Composer
$ composer require tendersrl/bugsnag-deployer-recipe
Usage
Add in your AppServiceProvider the app version ti report on Bugsnag, as described in Bugsnag documentation
public function boot() { Bugsnag::setAppVersion('v1.2.3'); }
Note You don't need to register the DeployCommand command in your app/Console/Kernel.php file as this package do that for you.
Lastly import the Recipe vendor/tendersrl/bugsnag-deployer-recipe/recipes/BugsnagRecipe.php in your deployer.php file
require 'vendor/tendersrl/bugsnag-deployer-recipe/recipes/BugsnagRecipe.php';
and add the task artisan:bugsnag:deploy as your last task (after deploy is done).
after('your:last:task', 'artisan:bugsnag:deploy');
Minimum requirements
- Laravel 5.5
- PHP 7.0
License
This package is licensed under the MIT License
统计信息
- 总下载量: 7.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-01