PHPackages                             wearesho-team/base-collection - 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. wearesho-team/base-collection

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

wearesho-team/base-collection
=============================

Typed collection based on ArrayObject

1.0.2(3y ago)24.1k1[8 PRs](https://github.com/wearesho-team/base-collection/pulls)5MITPHPPHP ^7.4 || ^8.0

Since Oct 19Pushed 3y ago2 watchersCompare

[ Source](https://github.com/wearesho-team/base-collection)[ Packagist](https://packagist.org/packages/wearesho-team/base-collection)[ RSS](/packages/wearesho-team-base-collection/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (2)Versions (12)Used By (5)

Base Сollection
===============

[](#base-сollection)

[![PHP Composer](https://github.com/wearesho-team/base-collection/actions/workflows/php.yml/badge.svg?branch=master)](https://github.com/wearesho-team/base-collection/actions/workflows/php.yml)[![Latest Stable Version](https://camo.githubusercontent.com/51c8b2ae14bdaed9d2bb2eff4b2c9a17f3f4cbd236413ef999557dfddd97c3cf/68747470733a2f2f706f7365722e707567782e6f72672f776561726573686f2d7465616d2f626173652d636f6c6c656374696f6e2f762f737461626c652e706e67)](https://packagist.org/packages/wearesho-team/base-collection)[![Total Downloads](https://camo.githubusercontent.com/b53b080ca94687cf1a823c38156d2b4d938c5e19b1ccd572be35a69407f89120/68747470733a2f2f706f7365722e707567782e6f72672f776561726573686f2d7465616d2f626173652d636f6c6c656374696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/wearesho-team/base-collection)[![codecov](https://camo.githubusercontent.com/a875df2535765068a29cd6f103cdbc11b6efb1a2291edb04677d31592210763c/68747470733a2f2f636f6465636f762e696f2f67682f776561726573686f2d7465616d2f626173652d636f6c6c656374696f6e2f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d5273627165324c6d715a)](https://codecov.io/gh/wearesho-team/base-collection)

Implementation of typed collection.

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

[](#installation)

```
composer require wearesho-team/base-collection
```

Usage
-----

[](#usage)

Create your class collection and implement `type()` method.

It must return declared (existed) class name

```
