After releasing our “Teams multi-tenancy” module, we’ve got a few comments and questions about some settings, the most popular was multiple teams for one user. It’s pretty hard to extend the generator for it, so we decided to build a demo-project instead.
Here’s how it looks – you can choose the team to login to, both after login moment, and also at any time from dropdown on top-right.

The code for this demo-project is available for free on GitHub. It may be useful not only to our customers, but for anyone who wants to build a multi-tenant project.
The main point of the code you need to know is a trait app/Traits/FilterByUser.php, which adds global scope for every entry for every user:
static::addGlobalScope('created_by_id', function (Builder $builder) use ($currentUser) {
$builder->where([
'created_by_id' => $currentUser->id,
'created_by_team_id' => session('team_id')
]);
});
Also there are if-else statements which add more cases, for example Team Admin role entries are filtered only by users of their team:
static::addGlobalScope('created_by_team_id', function (Builder $builder) use ($currentUser) {
$builder->where('created_by_team_id', $currentUser->teams->pluck('id'));
});
Check out the full project code, or try out Teams Multi-Tenancy module in QuickAdminPanel.
PakarPBN
A Private Blog Network (PBN) is a collection of websites that are controlled by a single individual or organization and used primarily to build backlinks to a “money site” in order to influence its ranking in search engines such as Google. The core idea behind a PBN is based on the importance of backlinks in Google’s ranking algorithm. Since Google views backlinks as signals of authority and trust, some website owners attempt to artificially create these signals through a controlled network of sites.
In a typical PBN setup, the owner acquires expired or aged domains that already have existing authority, backlinks, and history. These domains are rebuilt with new content and hosted separately, often using different IP addresses, hosting providers, themes, and ownership details to make them appear unrelated. Within the content published on these sites, links are strategically placed that point to the main website the owner wants to rank higher. By doing this, the owner attempts to pass link equity (also known as “link juice”) from the PBN sites to the target website.
The purpose of a PBN is to give the impression that the target website is naturally earning links from multiple independent sources. If done effectively, this can temporarily improve keyword rankings, increase organic visibility, and drive more traffic from search results.
