Giter Club home page Giter Club logo

gitbar's Introduction

GitBar

Quickly and easily manage your git repository for your staging area

alt tag

Getting Started

Getting GitBar installed on your existing Laravel application is easy. Just run the following command in your project

$ composer require danj/gitbar

After that, you'll need to include the following ServiceProvider to the providers array in your config/app.php file.

Danj\Gitbar\GitbarServiceProvider::class

By default, GitBar is enabled based on the APP_DEBUG variable. However you can override this behaviour by adding this line in your .env file

GITBAR_ENABLE=true

Please see below for further configurations.

GitBar should NEVER be enabled on a production environment, so please make sure you only enable this on your local workstation and staging area.

Configuration

GitBar can be configured for your needs. You can either publish the config file and edit this directly, or use .env variables.

Publishing Config File

$ php artisan vendor:publish --provider="Danj\Gitbar"

A new file will be created in /config/gitbar.php. You can modify this directly.

Using .env variables

The following .env variables are available for GitBar:

  • GITBAR_ENABLE
  • GITBAR_PREFIX
  • GITBAR_BIN
  • GITBAR_REPO
  • GITBAR_SOURCE

Please see the comments in the config file for more info about these.

And that's it!

Issues and Pull Requests are welcome.

If this package makes development easier for you or your team, donations are greatly appreciated! ๐Ÿบ

gitbar's People

Contributors

danjohnson95 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.