staskjs/laravel-commits-behind

There is no license information available for the latest version (1.0.0) of this package.

Adds artisan command and routes to determine number of commits that current project is behind develop branch

1.0.0 2017-11-23 10:42 UTC

This package is not auto-updated.

Last update: 2024-11-10 05:46:09 UTC


README

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.