AuraEQ/laravel-multi-tenant — pull request #8 by geomagilles (2014-08-29 08:30:28+00:00)
Title: TenantScope as Facade, multi columns scopes

- define TenantScope as an alias on a Facade towards a shared instance of TenantScope.
- set tenant scope by addTenant(column, id) (typically in app/filters.php)
- request a $tenants variable on Eloquent model defining which column(s) should be used as tenant-id
- move some code from model to TenantScope.php