PHP code example of ambersive / yamlseeder
1. Go to this page and download the library: Download ambersive/yamlseeder 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/ */
ambersive / yamlseeder example snippets
bash
php artisan vendor:publish --tag=yaml-seeder
bash
php artisan db:seed
bash
php artisan make:seeder-yaml demo --model=App/User