danielrhodeswarp / git-branch-bubble
Display the current Git branch on every page of your Laravel 5 project
Requires
- php: >=5.3.0
- illuminate/support: ~5.1
- sebastian/git: 2.0.*
This package is not auto-updated.
Last update: 2024-11-09 19:09:00 UTC
README
What's this?
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.
Installation
composer require --dev danielrhodeswarp/git-branch-bubble
Then add Danielrhodeswarp\GitBranchBubble\GitBranchBubbleServiceProvider::class
to the 'providers'
bit of your project's /config/app.php
Config
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.
Notes
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).