Skip to content

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

Notifications You must be signed in to change notification settings

hyn/dummy-tenant-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published