PHP code example of welderlourenco / laravel-seeder
1. Go to this page and download the library: Download welderlourenco/laravel-seeder 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/ */
welderlourenco / laravel-seeder example snippets
"welderlourenco/laravel-seeder" : "dev-master"
return array(
// ...
'providers' => array(
// ...
'WelderLourenco\LaravelSeeder\Providers\LaravelSeederServiceProvider'
),
)
php artisan db:all
php artisan db:only --files="UserTableSeeder"