PHP code example of chrishepner / school-name-generator

1. Go to this page and download the library: Download chrishepner/school-name-generator 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/ */

    

chrishepner / school-name-generator example snippets


$faker = Faker\Factory::create();
$faker->addProvider(new SchoolNameGenerator\FakerProvider($faker));
for ($i = 0; $i < 10; $i++) {
    echo $faker->schoolName . '\n';
}