/Silex-full-skeleton

Silex Full Skeleto: console app, migrations, environments

Primary LanguagePHP

Silex Full Skeleton

In this repo You can find

  1. Console app

  2. Migrations

  3. Environments

All console commands should be done in root directory.

At First You need initialize env with which You will work. In console run command:

php init.php run:env dev

This will run env dev, you can run other one, for example prod or create your own env like stage and run it.

In ./console/commands is created FirstCommand.php as example. In console run command

php console.php run:first-command Silex

Enjoy ;)