laravel-commits-behind maintained by staskjs
Description
Adds artisan command and routes to determine number of commits that current project is behind develop branch
Author
Last update
2017/11/23 11:42
(dev-master)
Downloads
389
Laravel Commits Behind
Installation
composer require staskjs/laravel-commits-behind
If you are using laravel 5.5+, package will be automatically registered.
If not, then add Staskjs\CommitsBehind\CommitsBehindServiceProvider to config/app.php
php artisan commits-behind command will be registered, as well as /debug/commits-behind route.
Usage
php artisan commits-behind --branch=develop --type=local
Use type local when git folder is directly in the root folder
Use type cap is you are deployed with capistrano
Same parameters go for route, just pass them as get params.