定制 dboskovic/bazaar 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dboskovic/bazaar

Composer 安装命令:

composer require dboskovic/bazaar

包简介

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

README 文档

README

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

统计信息

  • 总下载量: 132
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-07