staskjs / laravel-commits-behind
Adds artisan command and routes to determine number of commits that current project is behind develop branch
Installs: 389
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/staskjs/laravel-commits-behind
This package is not auto-updated.
Last update: 2025-10-26 10:47:17 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.