PHP code example of vovanmix / phinx-laravel-style
1. Go to this page and download the library: Download vovanmix/phinx-laravel-style library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vovanmix / phinx-laravel-style example snippets
shell
cp ./vendor/vovanmix/phinx-laravel-style/src/phinx-settings.php ./phinx.php
shell
php vendor/bin/phinx create --class=default MyNewMigration
php vendor/bin/phinx migrate
php vendor/bin/phinx rollback