PHPackages                             ehough/speedreader - 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. ehough/speedreader

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

ehough/speedreader
==================

Nested-property accessor with an emphasis on performance

v1.0.0(8y ago)0300[1 PRs](https://github.com/ehough/speedreader/pulls)MPL-2.0PHPPHP ^5.3|^7.0

Since Aug 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ehough/speedreader)[ Packagist](https://packagist.org/packages/ehough/speedreader)[ Docs](https://github.com/ehough/speedreader)[ RSS](/packages/ehough-speedreader/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

SpeedReader [![Build Status](https://camo.githubusercontent.com/2701f4ca3fb31fab67f3737eeb61dce889c25a6298e7267825c13f6e7a70580c/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f65686f7567682f73706565647265616465722e706e67)](http://travis-ci.org/ehough/speedreader)
==================================================================================================================================================================================================================================================================================

[](#speedreader-)

Nested-property selector for PHP 5.3+ with a focus on performance.

SpeedReader allows you to use dot notation (a subset of [JMESPath expressions and subexpressions](http://jmespath.org/tutorial.html#basic-expressions)) to quickly read values from arrays, [\\ArrayAccess](https://secure.php.net/manual/class.arrayaccess.php) instances, objects, or any combination thereof. You can provide a fallback value to use if the property does not exist or cannot be casted to the desired type.

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

[](#installation)

Install the latest version with

```
$ composer require ehough/speedreader
```

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

[](#basic-usage)

SpeedReader can read from any mix of arrays, \\ArrayAccess instances, and objects.

```
