PHP code example of nystronsolar / faker-solar
1. Go to this page and download the library: Download nystronsolar/faker-solar library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nystronsolar / faker-solar example snippets
$faker = \Faker\Factory::create();
$faker->addProvider(new \NystronSolar\FakerSolar\Solar($faker));
// Generator
$faker->solarInverterModel(); // A random Solar Inverter Model
bash
php vendor/bin/php-cs-fixer fix --verbose
php vendor/bin/psalm
php vendor/bin/phpunit