kobykorman

Results comments of kobykorman

@shincoder makes some valid points. @Mevrael that's a lot of boilerplate, maybe migrations could be improved in the sense that you would be able to only specify these settings once,...

This is a topic I'm longing for Laravel and Taylor to tackle with. I dare to say that most of us are building SaaS, and multi-tenancy is at the heart...

Here's my current `IdentifyTenant` Middleware: ``` public function handle($request, Closure $next) { $this->tenant->getByDomain($request->getHttpHost())->init(); return $next($request); } ``` As you can see, I've encapsulated all tenant logic in the `Tenant` Model....

That package describes the behavior I hoped Laravel would have by default. Hopefully with time this behavior creeps into the framework, 'cause I really think it's the way to go.

It's totally manageable right now. I separate the routes into different files and include them all in one Service Provider. In `app/Http/routes/` I have: ``` php admin.php app.php auth.php ```...

@perfectmak Yup. http://php.net/manual/en/functions.anonymous.php > When declared in the context of a class, the current class is automatically bound to it, making $this available inside of the function's scope. @Garbee Docs...

Like mentioned by others, the dirs are gone because they hold no files to begin with. Generating them in this specific way keeps everything consistent, as other stuff is already...