PHP code example of littlegiant / silverstripe-seeder

1. Go to this page and download the library: Download littlegiant/silverstripe-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/ */

    

littlegiant / silverstripe-seeder example snippets

 bash
(unix)      $ framework/sake seed flush=1
(windows)   > php framework/cli-script.php seed flush=1