library bazaar
Random item and Heroku-ish name generator package ported from raycchan/bazaar gem
dboskovic/bazaar
Random item and Heroku-ish name generator package ported from raycchan/bazaar gem
- Monday, September 7, 2015
- by dboskovic
- Repository
- 0 Watchers
- 0 Stars
- 126 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Bazaar
Bazaar is a random item and Heroku-ish name generator ported from the @raycchan's ruby version https://github.com/raycchan/bazaar., (*1)
Installation
Install the latest version with, (*2)
$ composer require dboskovic/bazaar
Basic Usage
<?php
require_once __DIR__ . '/../vendor/autoload.php'; // Autoload files using Composer autoload
use Bazaar\Bazaar;
// create a log channel
Bazaar::object();
// => "dirty rubberband"
// => "unusual pillow"
// => "slippery toothpaste"
Bazaar::super_object();
// => "unwavering foliage"
// => "tranquil snowflake"
// => "exuberant drylands"
Bazaar::heroku();
// => "inquisitive-cavern-6617"
// => "jubilant-sunset-9301"
// => "frightened-geyser-4542"
Bazaar::adj();
// => "colossal"
Bazaar::item();
// => "javelin"
Bazaar::super_adj();
// => "limitless"
Bazaar::super_item();
// => "lagoon"
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
)
- Commit your changes (
git commit -am 'Add some feature'
)
- Push to the branch (
git push origin my-new-feature
)
- Create new Pull Request
dev-master
9999999-dev
Random item and Heroku-ish name generator package ported from raycchan/bazaar gem
Sources
Download
MIT
by
David Boskovic