Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.05 KB

readme.md

File metadata and controls

20 lines (15 loc) · 1.05 KB

example tenant website

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 the vendor/autoload.php file.
  • /cache
  • /config
  • /lang
  • /media
  • /vendor
  • /views