danielrhodeswarp / git-branch-bubble by danielrhodeswarp

Display the current Git branch on every page of your Laravel 5 project
19
1
1
Package Data
Maintainer Username: danielrhodeswarp
Maintainer Contact: daniel.rhodes@warpasylum.co.uk (Daniel Rhodes)
Package Create Date: 2016-01-02
Package Last Update: 2016-01-25
Language: PHP
License: MIT
Last Refreshed: 2024-04-30 15:13:36
Package Statistics
Total Downloads: 19
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 1
Total Open Issues: 1

Git Branch Bubble

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).