A Simple light-weight Framework based on the Hexagonal Architecture with PHP Unit Test, PHP Unit Database Test, Database Migration, View Templating and Authentication.
Install dependencies with Composer
composer install
Create a .env file and configure with System settings. An Example .env.example has been provided.
Database driver can be either sqlite or mysql.
Update phinx.yml with database settings
If your database driver is mysql create a new MYSQL Database called nucleon and a test Database called test_nucleon
Run all migrations (check phinx.yml for more migration environments)
vendor/bin/phinx migrate
or (SQLite)
vendor/bin/phinx migrate -e production_sqlite
to specify an environment