PHPackages                             gingerminds/laravel-multisite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. gingerminds/laravel-multisite

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gingerminds/laravel-multisite
=============================

Multisite &amp; Multi Languages functionalities for Laravel projects

2.3.1(2w ago)024MITPHPPHP ^8.4

Since May 27Pushed 2w agoCompare

[ Source](https://github.com/gingerminds/laravel-multisite)[ Packagist](https://packagist.org/packages/gingerminds/laravel-multisite)[ RSS](/packages/gingerminds-laravel-multisite/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (32)Versions (22)Used By (0)

Laravel Multisite
=================

[](#laravel-multisite)

Multi-site and multi-language support for Laravel projects built on `gingerminds/laravel-core`. It provides:

- `Site` and `Language` models, with an admin CRUD for managing both.
- `SiteContext` / `LanguageContext` services that resolve "the current site" / "the current language" for a request.
- Traits your own models can use to scope queries by site, scope by attached language, or attach a translation model.
- A generic tabbed Blade component for editing per-language fields.
- API Platform endpoints for `Site` (read-only) and `Language` (nested only).

Requirements
------------

[](#requirements)

- PHP ^8.4
- `gingerminds/laravel-core` ^2.8

Quick start
-----------

[](#quick-start)

```
composer require gingerminds/laravel-multisite
php artisan migrate
```

Then register the package's models with API Platform (see [Installation](docs/Installation.md#2-register-the-packages-models-with-api-platform)).

Documentation
-------------

[](#documentation)

- [Installation](docs/Installation.md)
- [Configuration](docs/Configuration.md)
- [Context](docs/Context.md) — `SiteContext`, `LanguageContext`, and how "current" is resolved
- [Traits](docs/Traits.md) — `TranslatableModelTrait`, `TranslationModelTrait`, `LanguageContextedModelTrait`, `SiteContextedModelTrait`, `BuildsTranslationAttributesTrait`
- [Components](docs/Components.md) — the translations form component
- [API](docs/API.md) — admin routes and API Platform endpoints

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance97

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 98% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

18

Last Release

15d ago

Major Versions

1.1.2 → 2.0.02026-06-19

PHP version history (2 changes)1.0.0PHP ^8.3

2.2.1PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/c74a39f12a3a33ec6d8a7b6b5b21f8bb35c9fae3bfd305cd925cc31272ffea61?d=identicon)[gingerminds](/maintainers/gingerminds)

---

Top Contributors

[![tlenoble-gingerminds](https://avatars.githubusercontent.com/u/300816728?v=4)](https://github.com/tlenoble-gingerminds "tlenoble-gingerminds (50 commits)")[![sebgm](https://avatars.githubusercontent.com/u/49754138?v=4)](https://github.com/sebgm "sebgm (1 commits)")

###  Code Quality

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gingerminds-laravel-multisite/health.svg)

```
[![Health](https://phpackages.com/badges/gingerminds-laravel-multisite/health.svg)](https://phpackages.com/packages/gingerminds-laravel-multisite)
```

###  Alternatives

[boesing/typed-arrays

Hashmap and Collection

1038.5k1](/packages/boesing-typed-arrays)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
