PHPackages                             ramsondon/arraycollectionfactory - 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. ramsondon/arraycollectionfactory

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

ramsondon/arraycollectionfactory
================================

a type save array generator via type hinting

v1.0(11y ago)115PHPPHP &gt;=5.3.0

Since Aug 19Pushed 11y ago1 watchersCompare

[ Source](https://github.com/ramsondon/ArrayCollectionFactory)[ Packagist](https://packagist.org/packages/ramsondon/arraycollectionfactory)[ RSS](/packages/ramsondon-arraycollectionfactory/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

ArrayCollectionFactory
======================

[](#arraycollectionfactory)

ArrayCollectionFactory is a dynamic ArrayCollection generator for type save access via type hints in PHP.

the ArrayCollection implements \\Countable, \\Iterator and the dynamically created cached ArrayCollection contains the methods:

```
->append(Class\of\Object $object);

->getAt($index);

->removeAt($index);

try phpunit in directory src/Ramsondon/TypedArray/Test to generate cached ArrayCollection and Interface.
the cached files will be created in src/Ramsondon/TypedArray/Cache

```

How to use:
===========

[](#how-to-use)

```
    use Ramsondon\ArrayCollectionFactory;

    $factroy = new ArrayCollectionFactory();

    /* @var $collection \Ramsondon\TypedArray\Cache\ITestObjectArrayCollection */
    $collection = $factory->create('Class\\Of\\TestObject');

    $object = new Class\Of\TestObject();

    $collection->append($object);

    /* @var $testobject \Class\Of\TestObject */
    foreach ($collection as $testobject) {
        $testobject->doSomething();
    }
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

4290d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6987a095633eafa6c2f77ed0afba8cec8af7600ffd7073f77e20b5103c42fa85?d=identicon)[ramsondon](/maintainers/ramsondon)

---

Top Contributors

[![ramsondon](https://avatars.githubusercontent.com/u/649002?v=4)](https://github.com/ramsondon "ramsondon (22 commits)")

---

Tags

phparrayArrayCollection

### Embed Badge

![Health badge](/badges/ramsondon-arraycollectionfactory/health.svg)

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

###  Alternatives

[zakirullin/mess

Convenient array-related routine &amp; better type casting

21228.9k2](/packages/zakirullin-mess)

PHPackages © 2026

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