hyn / dummy-tenant-website

Example structure for a dummy website, showing off all features of a hyn multi tenant website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Example structure for a dummy website, showing off all features of a hyn multi tenant website


Languages

Language:CSS 96.3%Language:PHP 3.7%