PHP code example of fredoware / fredobase

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

    

fredoware / fredobase example snippets


$user = 

$admin =  
bash
composer install
php fredobase install
bash
php fredobase migrate
text
http://localhost/appbase-api/api/health.php
bash
php fredobase help
bash
php fredobase install
bash
php fredobase make:module product
bash
php fredobase migrate
bash
php fredobase make:migration product
php fredobase migrate
text
app/Modules/Product/ProductController.php
app/Modules/Product/ProductModel.php
app/Modules/Product/ProductRepository.php
app/Modules/Product/ProductValidator.php
database/migrations/YYYY_MM_DD_HHMMSS_create_product_table.sql
bash
php fredobase make:module product
php fredobase migrate
bash
php fredobase migrate
php fredobase make:admin [email protected] change-this-password Admin User