Display the current Git branch on every page of your Laravel 5 project
danielrhodeswarp/git-branch-bubble is a Laravel package for display the current git branch on every page of your laravel 5 project.
It currently has 0 GitHub stars and 21 downloads on Packagist (latest version 0.0.2).
Install it with composer require danielrhodeswarp/git-branch-bubble.
Discover more Laravel packages by danielrhodeswarp
or browse all Laravel packages to compare alternatives.
Last updated
It's the Git Branch Bubble which will make the current Git branch you are working on face-punchingly obvious when developing your Laravel 5 projects. It's useful if you are paranoid, forgetful or both.
composer require --dev danielrhodeswarp/git-branch-bubble
Then add Danielrhodeswarp\GitBranchBubble\GitBranchBubbleServiceProvider::class to the 'providers' bit of your project's /config/app.php
You may publish the gitbranchbubble.php config file into your project (php artisan vendor:publish) and then tinker with some visual properties of the bubble.
Git branch will show as "unknown" under any and all failure / fringe cases (Git not installed, Laravel project not a Git repo, something wrong with Git etc).