PHP code example of gabogalro / redstonephp
1. Go to this page and download the library: Download gabogalro/redstonephp 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 example snippets
bash
composer create-project gabogalro/redstonephp-app mi-api
cd mi-api
cp .env.example .env
php forge key:generate
php forge migrate
php forge serve
bash
php forge make:api Employee # Controller + Service + Repository + DTO + Mapper + Requests + Exception
php forge make:migration create_employees_table
php forge make:procedure register_employee --type=insert
php forge migrate # tablas + stored procedures, en orden
php forge ingot:install # scaffold completo de auth JWT + Bearer
php forge route:list