PHP code example of routinier / seeders
1. Go to this page and download the library: Download routinier/seeders 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/ */
routinier / seeders example snippets
$ composer
use Routinier\Seeders\DatabaseSeeder as BaseDatabaseSeeder;
use Routinier\Seeders\StringSeeder;
class DatabaseSeeder extends BaseDatabaseSeeder
{
public function run(): void
{
parent::run();
$this->call(StringSeeder::class);
$this->call(MySeeder::class);
}
}