danielrhodeswarp/git-branch-bubble

Display the current Git branch on every page of your Laravel 5 project

0.0.2 2016-01-25 15:30 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:01:45 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).