PHPackages                             stefna/ds-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. stefna/ds-collection

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

stefna/ds-collection
====================

Common collection classes for stefna

1.2.0(6mo ago)09.1k↓44.8%4MITPHPPHP ^8.2CI failing

Since Feb 8Pushed 6mo ago3 watchersCompare

[ Source](https://github.com/stefna/collection)[ Packagist](https://packagist.org/packages/stefna/ds-collection)[ RSS](/packages/stefna-ds-collection/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (8)Versions (8)Used By (4)

Collection
==========

[](#collection)

[![Build Status](https://github.com/stefna/collection/actions/workflows/continuous-integration.yml/badge.svg?branch=main)](https://github.com/stefna/collection/actions/workflows/continuous-integration.yml)[![Latest Version on Packagist](https://camo.githubusercontent.com/2ca27a368ef98d0fe251a83acddc46649e0caa0645d4551e92211a60b581b41e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737465666e612f64732d636f6c6c656374696f6e2e737667)](https://packagist.org/packages/stefna/ds-collection)[![Software License](https://camo.githubusercontent.com/240b47ed6408f431c4e995f97c08939911ff80c26edad2401783b3f7e2e4d6cb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f737465666e612f636f6c6c656374696f6e2e737667)](LICENSE)

This package is a lightweight config loader with type safety as the primary corner stone.

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

[](#requirements)

PHP 8.2 or higher.

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

[](#installation)

```
composer require stefna/ds-collection
```

Usage
-----

[](#usage)

### Generic implementations

[](#generic-implementations)

We provide 2 generic implementations of the collections for convenience and internal usage

#### List:

[](#list)

```
