Skip to content

Extremely simple multi tenancy laravel application demoing the basic setup

Notifications You must be signed in to change notification settings

OwenMelbz/super-simple-multi-tenant-laravel

Repository files navigation

Simple Multi Tenant Laravel App

Database Schema for a Tenant

  • /database/migrations/2017_05_03_195020_create_tenants_table.php
  • /database/migrations/2014_10_12_000000_create_users_table.php

Middleware which detects which tenant is active via domain

  • /app/Http/Middleware/TenancyContract.php

Tenant Model which stores some helper functions

  • /Users/owen/Sites/multi/app/Tenant.php

User model which uses the trait

  • /Users/owen/Sites/multi/app/User.php

About

Extremely simple multi tenancy laravel application demoing the basic setup

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages