PHP code example of gabogalro / redstonephp-app

1. Go to this page and download the library: Download gabogalro/redstonephp-app 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/ */

    

gabogalro / redstonephp-app example snippets

bash
composer install
cp .env.example .env
php forge key:generate
php forge migrate
php forge serve
bash
php forge make:api Employee        # scaffold a full CRUD resource
php forge make:migration create_employees_table
php forge make:procedure register_employee --type=insert
php forge migrate                  # tables + procedures
php forge ingot:install            # JWT auth scaffold
php forge route:list