This project is now deprecated. There are much better alternatives now (i.e. Google Cloud Run)

Database : Seeding

Introduction

PHPSLS includes a simple method of seeding your databases with data using seed classes. All seed classes are stored in the app/database/seeds directory. Seed classes must be named exactly as the name of the file reside into i.e. TableSeeder in file TableSeeder.php

Writing the seeder


Running the seeder

The "seed" command accepts two arguments. The environment to be seeded, as well as the name of the seed class to be executed.


       vendor/bin/phpsls seed local TableCountrySeeder