Support the ongoing development of Laravel.io →
IOC Architecture

I have a multi-tenant application using {company}.domain.tld.

Is there a way for me to inject the company model into all my controllers and views? I've always been slightly confused as to how this sort of thing works.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

iWader iwader Joined 14 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.