PHPackages                             rexlabs/array-object - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. rexlabs/array-object

ActiveLibrary[Queues &amp; Workers](/categories/queues)

rexlabs/array-object
====================

Provides an interface for simplifying working with associative and sequential arrays (collections).

3.0.0(2y ago)893.2k—9.4%[5 issues](https://github.com/rexlabsio/array-object-php/issues)1MITPHPPHP &gt;=7.4 &lt;8.3

Since Feb 23Pushed 2y ago3 watchersCompare

[ Source](https://github.com/rexlabsio/array-object-php)[ Packagist](https://packagist.org/packages/rexlabs/array-object)[ RSS](/packages/rexlabs-array-object/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (1)

Deprecated
==========

[](#deprecated)

This library isn't in active development. Various other collection libraries provide most functionality that we need out of the box.

Bug fixes only.

Array Object
============

[](#array-object)

[![License: MIT](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://opensource.org/licenses/MIT)[![Packagist](https://camo.githubusercontent.com/0225bef922303edf4066421cc1d9b12a966c6ee2199c92c011edddf4f1f8b01b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7265786c6162732f61727261792d6f626a6563742e737667)](https://packagist.org/packages/rexlabs/array-object)

ArrayObject is a PHP library that provides a light-weight interface for working fluently with array's.

ArrayObject provides a wrapper around PHP's built-in `array` type which includes methods for filtering, and retrieving items, and conveniently treats individual items and collections as the same object.

This is especially useful for working with JSON responses from API requests.

This library is used by the [Hyper Http Client](https://packagist.org/packages/rexlabs/hyper-http) to make extracting data from responses super intuitive.

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

[](#installation)

```
composer require rexlabs/array-object
```

Usage
-----

[](#usage)

```
