PHP code example of renanfenrich / tenant-broker

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

    

renanfenrich / tenant-broker example snippets

 bash
$ php artisan vendor:publish --tag tenant.config

 php


return [
    'connection' => 'mysql',
    'database' => [
        'host' => 'mysql.nasa.gov.us',
        'database' => 'jpl',
        'username' => 'root',
        'password' => 'voyager1',
    ]
];