承接 nordpeak/random-names-generator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

nordpeak/random-names-generator

Composer 安装命令:

composer require nordpeak/random-names-generator

包简介

Small library that generates a Docker like random name from the list of adjectives and surnames of famous people in the science and tech world.

README 文档

README

Small library that generates a Docker like random name from the list of adjectives and surnames of famous people in the science and tech world.

Examples

  • inspiring-wozniak
  • nifty-einstein
  • nervous.carson
  • goofy-cartwright-93
  • dazzling.austin.12837

Installation

This package uses composer so you can just add nordpeak/random-names-generator as a dependency to your composer.json file or execute the following command:

composer require nordpeak/random-names-generator

Usage

Nothing too fancy here.

use Nordpeak\NamesGenerator;

// default behaviour
NamesGenerator::generate(); // => "inspiring-wozniak"

// change delimiter 
NamesGenerator::generate(["delimiter" => "."]); // => "nifty.einstein"
  
// with additional random token 
NamesGenerator::generate(["token" => 5]); // => "quirky-hoover-82736"

Options

The following options are available:

NamesGenerator::generate([
  "delimiter" => "-",
  "token" => 4
]);

Credits

Heavily inspired and sourced from the docker namesgenerator library.

https://github.com/moby/moby/tree/master/pkg/namesgenerator

Code and setup based on atrox/haikunator library.

https://packagist.org/packages/atrox/haikunator

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-08-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固