danielspinard/wordlist-consumer
Composer 安装命令:
composer require danielspinard/wordlist-consumer
包简介
A smart consumer capable of consuming word lists and returning an almost real objects
README 文档
README
What is Wordlist-Consumer?
The word list consumer is an intelligent consumer, able to consume word lists and return an almost real object (Person, Address, Company)!
Installing
This library can be installed by the composer, the command to install is the one below:
composer require danielspinard/wordlist-consumer
Open library Packagist
Consumers
Person - ✔️
Address - ✔
Company - ❌
Tests output
php example/facade.php
^ "name: Yvan"
^ "other name: Edwards"
^ "two random surnames: Jackson - Wood"
php example/person.php
^ WordlistConsumer\Consumers\Person^ {
#name: "Maarten"
#surname: "Giles"
#email: "maartengile6125@outlook.com"
#age: 36
-birth: {
+"day": 10
+"month": 12
+"year": 1985
}
#address: null
}
^ "My name is Maarten"
^ "I have 36 years"
^ "I was born on the 10th of the 12th month"
^ "Send me an e-mail at maartengile6125@outlook.com"
php example/address.php
^ WordlistConsumer\Consumers\AddressConsumer^ {#6
#city: "Menifee"
#state: "California"
#country: "United States"
#geoNameId: 5372205
}
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-19