PHPackages                             dragk/array-class - 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. dragk/array-class

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

dragk/array-class
=================

Lightweight php package to work with arrays like in JavaScript or C#. Immutable-first. Collections-like

1.3.1(7y ago)214MITPHPPHP &gt;=7.0.0

Since Oct 2Pushed 7y ago2 watchersCompare

[ Source](https://github.com/DragK/array-class)[ Packagist](https://packagist.org/packages/dragk/array-class)[ RSS](/packages/dragk-array-class/feed)WikiDiscussions master Synced 4d ago

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

ArrayClass - Array as object for PHP
====================================

[](#arrayclass---array-as-object-for-php)

Lightweight php package to work with arrays like (but fitted to PHP) in JavaScript or C#, so you can for example, chain methods. Immutable-first. Collections-like.

Project was built having in mind, that this library has to:

- be lightweight
- be fast
- be full tested
- be strict typed for better security
- have documentation
- be like JavaScript/C# array object

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

[](#installation)

Install the latest version with

```
$ composer require dragk/array-class

```

Basic Usage
-----------

[](#basic-usage)

```
