2017 © Pedro Peláez
 

library tenant

Simple tenant scoping and population on creating

image

warksit/tenant

Simple tenant scoping and population on creating

  • Thursday, April 12, 2018
  • by warksit
  • Repository
  • 1 Watchers
  • 0 Stars
  • 484 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 3 % Grown

The README.md

Simple Package to deal with Multi-Tenant Application

Work in progress inspired by @HipsterJazzbo but app about to go live so needed something I was in control of., (*1)

Add Service Provider, (*2)

    'Warksit\Tenant\TenantServiceProvider',

Add Facade, (*3)

    'Tenant'            => 'Warksit\Tenant\TenantFacade',

use WarksIt/tenant/TenantTrait;, (*4)

in models to scope then by the tenant_id, (*5)

Publish config and update models and then an observer is set in the ServiceProvider. I found boot method of Eloquent model too unreliable to set there., (*6)

php artisan config:publish Warksit/tenant, (*7)

The Versions

12/04 2018

dev-h4d

dev-h4d

Simple tenant scoping and population on creating

  Sources   Download

The Requires

  • php >=5.4.0

 

by Andrew Westrope

tenant

14/10 2016

dev-master

9999999-dev

Simple tenant scoping and population on creating

  Sources   Download

The Requires

  • php >=5.4.0

 

by Andrew Westrope

tenant

14/10 2016

2.01

2.01.0.0

Simple tenant scoping and population on creating

  Sources   Download

The Requires

  • php >=5.4.0

 

by Andrew Westrope

tenant

01/10 2015

v0.2.0

0.2.0.0

Simple tenant scoping and population on creating

  Sources   Download

The Requires

  • php >=5.4.0

 

by Andrew Westrope

tenant

09/09 2015

v0.1.3

0.1.3.0

Simple tenant scoping and population on creating

  Sources   Download

The Requires

  • php >=5.4.0

 

by Andrew Westrope

tenant

09/09 2015

v0.1.2

0.1.2.0

Simple tenant scoping and population on creating

  Sources   Download

The Requires

  • php >=5.4.0

 

by Andrew Westrope

tenant

09/09 2015

v0.1.1

0.1.1.0

Simple tenant scoping and population on creating

  Sources   Download

The Requires

  • php >=5.4.0

 

by Andrew Westrope

tenant

03/06 2015

v0.1

0.1.0.0

Simple tenant scoping and population on creating

  Sources   Download

The Requires

 

The Development Requires

by Andrew Westrope

tenant