How to use:
composer require wicool/app-skel-components
add your settings to folder files: src/config/*.php
Create the folders in the root folder of your project(with write permissions):
db/migrations
db/seeds
Now run the following command to generate the PHINX configuration file vendor/bin/phinx init
.
This command will generate the following file in the root of your project. phinx.yml
, insira suas credenciais.
Run migrations file with:
php vendor/bin/phinx migrate
Run the seed for populate data:
php vendor/bin/phinx seed:run
For more details on creating your migrations and seeds, visit the official Phinx doc here.
Components used:
- robmorgan/phinx
- league/plates
- fzaninotto/faker
- illuminate/database
- illuminate/routing
- illuminate/events
- illuminate/pagination
- illuminate/session
- illuminate/validation
- illuminate/config
More soon...