Skip to content

Instantly share code, notes, and snippets.

View arcdigital's full-sized avatar
🔥
it's lit

Anand Capur arcdigital

🔥
it's lit
View GitHub Profile
@arcdigital
arcdigital / ScopeTenant.php
Created August 27, 2019 20:21
Laravel Multitenant
<?php
namespace App\Http\Middleware;
use App\Scopes\TenantScope;
use App\Tenant;
use App\User;
use Closure;
class ScopeTenant

Keybase proof

I hereby claim:

  • I am arcdigital on github.
  • I am anand (https://keybase.io/anand) on keybase.
  • I have a public key whose fingerprint is 15B2 CA39 E99C 5FDC F220 FE35 EE3C 0489 B38C E400

To claim this, I am signing this object: