PHPackages                             willskates/arrayfetcher - 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. willskates/arrayfetcher

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

willskates/arrayfetcher
=======================

A simple library loads arrays from different source files of different types.

1.0.2(11y ago)091MITPHPPHP &gt;=5.4.0

Since Jun 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/WillSkates/ArrayFetcher)[ Packagist](https://packagist.org/packages/willskates/arrayfetcher)[ Docs](http://github.com/WillSkates/ArrayFetcher)[ RSS](/packages/willskates-arrayfetcher/feed)WikiDiscussions master Synced 4w ago

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

\#Array Fetcher

A simple library that allows you to get an array of information from a file.

\##Build Status [![Build Status](https://camo.githubusercontent.com/ec1c7cceb63b24b958eaf5501c19afa3ca1dec74e2fccf71b2d0633b1874a86b/68747470733a2f2f7472617669732d63692e6f72672f57696c6c536b617465732f4172726179466574636865722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/WillSkates/ArrayFetcher)

\##Requirements

```
PHP 5.4

```

\##Installation

```
You should install Array Fetcher using composer.

```

```
{
    "require": {
        "willskates/arrayfetcher": "1.*"
    }
}
```

\##Usage

\###Getting an array from a file.

```
use WillSkates\ArrayFetcher\ArrayFetcher;

$fetcher = new ArrayFetcher();
$array = $fetcher->fetch('/path/to/filename.extension');
```

\###Getting an array from a file contained within a base directrory.

```
use WillSkates\ArrayFetcher\ArrayFetcher;

$dir = new ArrayFetcher('/path/to/dir');
$array = $dir->fetch('filename.extension');
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~304 days

Total

3

Last Release

4164d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dc0128a6930aa3fe58c3edca03a777a09229d97f6bfda9e01d0c81ca990c656?d=identicon)[WillSkates](/maintainers/WillSkates)

---

Tags

jsonarrayyamlfilesloading

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/willskates-arrayfetcher/health.svg)

```
[![Health](https://phpackages.com/badges/willskates-arrayfetcher/health.svg)](https://phpackages.com/packages/willskates-arrayfetcher)
```

###  Alternatives

[cuyz/valinor

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

1.5k13.2M162](/packages/cuyz-valinor)

PHPackages © 2026

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