nystronsolar/faker-solar
最新稳定版本:1.0.0
Composer 安装命令:
composer require nystronsolar/faker-solar
包简介
Allow Faker to generate fake Solar data.
README 文档
README
Allow fakerphp/faker to generate fake Solar data.
Installation
Add the FakerSOlar library to your composer.json file:
composer require nystronsolar/faker-solar
Usage
To use this with Faker, you must add the NystronSolar\FakerSolar\Solar class to the Faker generator:
<?php $faker = \Faker\Factory::create(); $faker->addProvider(new \NystronSolar\FakerSolar\Solar($faker)); // Generator $faker->solarInverterModel(); // A random Solar Inverter Model
Contributing
git clone https://github.com/NystronSolar/FakerSolar.git composer install
After you did the changes, run the PHP CS Fixer, Psalm and PHPUnit.
php vendor/bin/php-cs-fixer fix --verbose php vendor/bin/psalm php vendor/bin/phpunit
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-06