2017 © Pedro Peláez
 

library badger

A Badge Generator For Laravel 5

image

alt-three/badger

A Badge Generator For Laravel 5

  • Saturday, March 3, 2018
  • by joecohens
  • Repository
  • 4 Watchers
  • 51 Stars
  • 56,042 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 20 Versions
  • 11 % Grown

The README.md

Alt Three Badger

A badge generator for Laravel 5., (*1)

Installation

This version requires PHP 7.1 or 7.2, and supports Laravel 5.5 - 5.7 only., (*2)

To get the latest version, simply require the project using Composer:, (*3)

$ composer require alt-three/badger

Once installed, if you are not using automatic package discovery, then you need to register the AltThree\Badger\BadgerServiceProvider service provider in your config/app.php., (*4)

Examples

Get started immediately:, (*5)

// Using the facade
Badger::generate('license', 'MIT', 'blue', 'plastic')

// Dependency injection example
$badger->generate('license', 'MIT', '#ff69b4', 'plastic')

License Blue MIT License Custom MIT, (*6)

Usage

The generate method takes four parameters:, (*7)

Badger::generate('license', 'MIT', 'blue', 'flat-square')

The first parameter is the subject, or what it is the badge is showing. In the example above this is the license. The second parameter is the value (the right hand of the badge). Next is the color of the badge. This can be one of the following preset colors or a valid hex string., (*8)

  • brightgreen
  • green
  • yellow
  • yellowgreen
  • orange
  • red
  • blue
  • grey
  • lightgray

And finally the fourth parameter is the badge type. This determines the style of the badge and can be one of the four values below., (*9)

  • flat-square (default)
  • plastic-flat, flat
  • plastic
  • social (without links)

Security

If you discover a security vulnerability within this package, please e-mail us at support@alt-three.com. All security vulnerabilities will be promptly addressed., (*10)

License

Alt Three Badger is licensed under The MIT License (MIT)., (*11)

Based on the work done at badges/poser., (*12)

The Versions

03/03 2018

dev-master

9999999-dev

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen
by Alt Three

svg badge badger shield alt three

03/03 2018

v5.0.0

5.0.0.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alt Three

svg badge badger shield alt three

02/01 2018

4.0.x-dev

4.0.9999999.9999999-dev

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alt Three

svg badge badger shield alt three

02/01 2018

v4.0.1

4.0.1.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alt Three

svg badge badger shield alt three

06/08 2017

v4.0.0

4.0.0.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge badger shield alt three

01/01 2017

v3.2.0

3.2.0.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge badger shield alt three

01/01 2017

3.2.x-dev

3.2.9999999.9999999-dev

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge badger shield alt three

22/04 2016

v3.1.0

3.1.0.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge badger shield alt three

20/02 2016

v3.0.0

3.0.0.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge badger shield alt three

17/02 2016

v2.0.0

2.0.0.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge badger shield alt three

17/02 2016

2.0.x-dev

2.0.9999999.9999999-dev

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge badger shield alt three

02/02 2016

v1.0.7

1.0.7.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge shield alt three

02/02 2016

1.0.x-dev

1.0.9999999.9999999-dev

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge shield alt three

02/02 2016

v1.0.6

1.0.6.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge shield alt three

02/02 2016

v1.0.5

1.0.5.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge shield alt three

02/02 2016

v1.0.4

1.0.4.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge shield alt three

02/02 2016

v1.0.3

1.0.3.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge shield alt three

02/02 2016

v1.0.2

1.0.2.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge shield alt three

02/02 2016

v1.0.1

1.0.1.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge shield alt three

02/02 2016

v1.0.0

1.0.0.0

A Badge Generator For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell
by Joseph Cohen

svg badge shield alt three