PHP code example of vortechron / multi-tenant
1. Go to this page and download the library: Download vortechron/multi-tenant 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/ */
vortechron / multi-tenant example snippets
'providers' => [
// [..]
// Hyn multi tenancy.
Hyn\Tenancy\Providers\TenancyProvider::class,
// Hyn multi tenancy webserver integration.
Hyn\Tenancy\Providers\WebserverProvider::class,
],
bash
php artisan vendor:publish --tag tenancy
bash
php artisan migrate --database=system