Please note this repository is simply an example of the possibilities within one tenant website directory.
In order to make such a structure work you will need the hyn multi tenancy package. This package is meant for Laravel 5.1+.
The following structure is possible. Please note that all of these are optional!
You will find the directory stored by default under /storage/multi-tenant/<websiteId>-<identifier>/
:
- routes.php
- providers.php
- composer.json; set up whatever requirements and custom autoloading facilities. Please note you have to run
composer update
etc which creates thevendor/autoload.php
file. - /cache
- /config
- /lang
- /media
- /vendor
- /views