8000 GitHub - dboskovic/bazaar: Random item and Heroku-ish name generator package ported from raycchan/bazaar gem
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dboskovic/bazaar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bazaar

Bazaar is a random item and Heroku-ish name generator ported from the @raycchan's ruby version https://github.com/raycchan/bazaar.

Installation

Install the latest version with

$ 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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Random item and Heroku-ish name generator package ported from raycchan/bazaar gem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0