PHP code example of occ2 / phinx-nette-bridge

1. Go to this page and download the library: Download occ2/phinx-nette-bridge 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/ */

    

occ2 / phinx-nette-bridge example snippets


{PATH_TO_CONSOLE} phinx:migrate 
{PATH_TO_CONSOLE} phinx:create 
{PATH_TO_CONSOLE} phinx:rollback 
{PATH_TO_CONSOLE} phinx:status
{PATH_TO_CONSOLE} phinx:breakpoint