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

Database : Migrations


PHPSLS includes a simple method of changing your database schema by using migration classes. All seed migrations are stored in the app/database/migrations directory.

Writing the migration

File name: 20190617_080923_TableCountryCreate

Running the migrations

The "migration" command accepts one arguments. The environment the migrations are going to be run against.

       vendor/bin/phpsls migrate local