Looking to hire Laravel developers? Try LaraJobs
This package is not available.

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)
Links
Downloads
389

Comments
comments powered by Disqus

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.