定制 zaxn1234/random-data-generator 二次开发

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

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

zaxn1234/random-data-generator

Composer 安装命令:

composer require zaxn1234/random-data-generator

包简介

A package to generate psuedo-random data for testing

README 文档

README

Total Downloads Latest Stable Version License

RandomDataGenerator

A package to generate psuedo-random data for testing

Installation

Download

  • Download a ZIP or clone the repo
  • Make sure to have require_once path/to/src/autoload.php (edited as needed) to the start of your PHP script(s).

Composer

A simple composer require zaxn1234/random-data-generator should do the trick!

Usage

See examples folder. These will be updated alongside development. It's very simple! Just:

  • require_once the src/autoload.php file in your script(s)
  • use RandomDataGenerator\Factory;
  • Create a factory with $factory = Factory::create();
  • Grab whatever data you need, such as $factory->lastName;

License

This library is open-sourced software licensed under the MIT license.

To-dos

Since we're early in development, this list is a vague cross-section of the things I'd like to add to this library.

Add Providers

  • Names
  • Address
  • Phone Numbers
  • Date/Time
  • Countries
  • Internet
  • Barcodes && UUIDs
  • Random Text (Lorem ipsum-esque)
  • Company Details
  • And more...

Add Locales

  • en_GB (Default locale)
  • en_US
  • de_DE
  • es_ES
  • fr_FR
  • it_IT
  • And more...

Other Features

  • Optionally Weighted Options
  • Validation (IBAN, EAN etc.)
  • Uniqueness

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固