PHPackages                             dustin/encapsulation - 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. dustin/encapsulation

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

dustin/encapsulation
====================

A simple way to accommodate, exchange and structorize data with objects

2.0.0(2y ago)07001MITPHPPHP ^8.1

Since Feb 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/dustin-simon/encapsulation)[ Packagist](https://packagist.org/packages/dustin/encapsulation)[ Docs](https://dustinsimon.gitbook.io/encapsulation)[ RSS](/packages/dustin-encapsulation/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

dustin/encapsulation
====================

[](#dustinencapsulation)

A simple way to accomodate, exchange and structorize data with objects.

Check the documentation here: [Documentation](https://dustinsimon.gitbook.io/encapsulation)Or watch the changelog: [Changelog](https://dustinsimon.gitbook.io/encapsulation/v/changelog/)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~38 days

Recently: every ~56 days

Total

7

Last Release

947d ago

Major Versions

1.2.2 → 2.0.02023-10-14

PHP version history (2 changes)1.0.0PHP ^7.4 || ^8

2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa75468ed86485991bba33039b37ec2e1199b14326d1290bd2a5f7904b877a83?d=identicon)[dustin-simon](/maintainers/dustin-simon)

---

Top Contributors

[![dustin-simon](https://avatars.githubusercontent.com/u/40760819?v=4)](https://github.com/dustin-simon "dustin-simon (102 commits)")

---

Tags

arrayobjectimmutableencapsulationdata-exchangeintersection calculation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dustin-encapsulation/health.svg)

```
[![Health](https://phpackages.com/badges/dustin-encapsulation/health.svg)](https://phpackages.com/packages/dustin-encapsulation)
```

###  Alternatives

[symfony/property-access

Provides functions to read and write from/to an object or array using a simple string notation

2.8k295.3M2.5k](/packages/symfony-property-access)[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k9.2M108](/packages/cuyz-valinor)[jasny/dotkey

Dot notation access for objects and arrays

14219.5k6](/packages/jasny-dotkey)[michaldudek/foundation

A set of useful PHP classes.

13111.9k13](/packages/michaldudek-foundation)[peridot-php/object-path

A string syntax to fetch values from array and object hierarchies

1053.6k1](/packages/peridot-php-object-path)

PHPackages © 2026

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