PHP code example of trueandfalse / essential

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

    

trueandfalse / essential example snippets


 php artisan vendor:publish --tag=essentenant-migrations

 // Custom Database
 php artisan migrate --database=tenants --path=database/migrations/tenants
 // OR
 php artisan essential:migrate-tenants

 php artisan migrate:tenants

 php artisan db:tenants

 php artisan vendor:publish --tag=essenauth-migrations
 php artisan vendor:publish --tag=essenauth-models
 php artisan vendor:publish --tag=essenauth-seeders

 php artisan migrate
 php artisan db:seed --class=AuthDefaultSeeder
 php artisan db:seed