PHPackages                             abacaphiliac/php-extractor - 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. abacaphiliac/php-extractor

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

abacaphiliac/php-extractor
==========================

Provides a simple abstraction to extract values, and sets of values, into an array.

0.1.1(9y ago)030MITPHPPHP ^7.0|^5.6

Since Sep 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/abacaphiliac/php-extractor)[ Packagist](https://packagist.org/packages/abacaphiliac/php-extractor)[ RSS](/packages/abacaphiliac-php-extractor/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/000f224624cfa0646c5fbefa3d617d2b8e35a757dec559d0a75f7b6925c5fb24/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61626163617068696c6961632f7068702d657874726163746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/abacaphiliac/php-extractor/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/f0607f0f01d3eced30d8c022f7d994f1d371ca165c016abcb3cfdd240aa94275/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61626163617068696c6961632f7068702d657874726163746f722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/abacaphiliac/php-extractor/?branch=master)[![Build Status](https://camo.githubusercontent.com/adc02f6660aef8d48651fcbde0aef88b177cf69b33f96ae7919ed29e9924d1c0/68747470733a2f2f7472617669732d63692e6f72672f61626163617068696c6961632f7068702d657874726163746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/abacaphiliac/php-extractor)

abacaphiliac/php-extractor
==========================

[](#abacaphiliacphp-extractor)

Provides a simple abstraction to extract values, and sets of values, into an array.

Installation
============

[](#installation)

```
composer require abacaphiliac/php-extractor
```

Usage
=====

[](#usage)

```
$extractor = new \Abacaphiliac\Extractor\ExtractorChain([
    new YourCustomSessionExtractor($session),
    new SomeOtherDataProvider($dependency),
]);

$mergedData = $extractor->extract();
```

Dependencies
============

[](#dependencies)

See [composer.json](composer.json).

Contributing
------------

[](#contributing)

```
git clone git@github.com:abacaphiliac/php-extractor.git && cd php-extractor
composer update && vendor/bin/phing
```

This library attempts to comply with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md), and [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md). If you notice compliance oversights, please send a patch via pull request.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

3579d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29004cd917fdd7e4a8cc4ddba16f0bbcd90829513c57fc96e3b4f3fcb53f7ead?d=identicon)[abacaphiliac](/maintainers/abacaphiliac)

---

Top Contributors

[![abacaphiliac](https://avatars.githubusercontent.com/u/1656273?v=4)](https://github.com/abacaphiliac "abacaphiliac (6 commits)")

---

Tags

arrayextractionmergeextractorrecursiveChain

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/abacaphiliac-php-extractor/health.svg)

```
[![Health](https://phpackages.com/badges/abacaphiliac-php-extractor/health.svg)](https://phpackages.com/packages/abacaphiliac-php-extractor)
```

###  Alternatives

[symfony/property-access

Provides functions to read and write from/to an object or array using a simple string notation

2.8k317.3M3.1k](/packages/symfony-property-access)[doctrine/collections

PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.

6.0k430.2M1.4k](/packages/doctrine-collections)[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k430.4M1.7k](/packages/nette-utils)[league/config

Define configuration arrays with strict schemas and access values with dot notation

565335.0M36](/packages/league-config)[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k13.2M171](/packages/cuyz-valinor)[openlss/lib-array2xml

Array2XML conversion library credit to lalit.org

31053.8M51](/packages/openlss-lib-array2xml)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
