PHPackages                             asseco-voice/laravel-containers - 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. [Database &amp; ORM](/categories/database)
4. /
5. asseco-voice/laravel-containers

ActiveLibrary[Database &amp; ORM](/categories/database)

asseco-voice/laravel-containers
===============================

Adding container support to Laravel models

v3.0.0(2y ago)23.9k[4 PRs](https://github.com/asseco-voice/laravel-containers/pulls)MITPHPPHP ^8.1

Since Feb 10Pushed 1y ago6 watchersCompare

[ Source](https://github.com/asseco-voice/laravel-containers)[ Packagist](https://packagist.org/packages/asseco-voice/laravel-containers)[ RSS](/packages/asseco-voice-laravel-containers/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (6)Versions (19)Used By (0)

[![](https://github.com/asseco-voice/art/raw/main/evil_logo.png)](https://see.asseco.com)

Containers
==========

[](#containers)

Purpose of this repository is to provide container support to any Laravel model.

**Container** is an entity for organizing multiple resources under a single logical unit.

Example
-------

[](#example)

Having a `contacts` table:

```
ID  First name
1   Foo
2   Bar
3   Baz
4   Boo
5   Far
6   Faz

```

You can logically organize it in 2 containers:

```
ID  Name
1   F named
2   B named

```

Resulting in an organized `contacts` table

```
ID  First name  Container ID
1   Foo         1
2   Bar         2
3   Baz         2
4   Boo         2
5   Far         1
6   Faz         1

```

Installation
------------

[](#installation)

Require the package with `composer require asseco-voice/laravel-containers`. Service provider for Laravel will be installed automatically.

Usage
-----

[](#usage)

In order to use this repository the following must be done:

1. Run `php artisan migrate` to migrate generated migrations
2. Add a `Containable` trait to models you wish having containers.

Extending the package
=====================

[](#extending-the-package)

Publishing the configuration will enable you to change package models as well as controlling how migrations behave. If extending the model, make sure you're extending the original model in your implementation.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 84.3% 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 ~70 days

Recently: every ~148 days

Total

14

Last Release

1008d ago

Major Versions

v0.2.0 → v1.0.02021-08-12

v1.1.0 → v2.0.02022-05-05

v2.1.0 → v3.0.02023-08-08

PHP version history (4 changes)v0.1.0PHP ^7.4

v0.1.1PHP ^7.4 || ^8.0

v2.0.0PHP ^8.0

v3.0.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![Norgul](https://avatars.githubusercontent.com/u/11718157?v=4)](https://github.com/Norgul "Norgul (43 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![josip-milotic](https://avatars.githubusercontent.com/u/42002911?v=4)](https://github.com/josip-milotic "josip-milotic (2 commits)")[![assefvisic](https://avatars.githubusercontent.com/u/60132037?v=4)](https://github.com/assefvisic "assefvisic (1 commits)")

---

Tags

containersdatabaselaravellaravel-8-packagelaravel-frameworklaravel-packagemicroservicemicroservicesphpphplaraveldatabasemicroservicescontainers

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/asseco-voice-laravel-containers/health.svg)

```
[![Health](https://phpackages.com/badges/asseco-voice-laravel-containers/health.svg)](https://phpackages.com/packages/asseco-voice-laravel-containers)
```

###  Alternatives

[wayofdev/laravel-cycle-orm-adapter

🔥 A Laravel adapter for CycleORM, providing seamless integration of the Cycle DataMapper ORM for advanced database handling and object mapping in PHP applications.

3516.7k3](/packages/wayofdev-laravel-cycle-orm-adapter)[codewithkyrian/chromadb-laravel

ChromaDB Laravel is a Laravel client for the Chroma Open Source Embedding Database

144.1k](/packages/codewithkyrian-chromadb-laravel)

PHPackages © 2026

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