PHPackages                             neoan3-apps/file-away - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. neoan3-apps/file-away

ActiveLibrary[File &amp; Storage](/categories/file-storage)

neoan3-apps/file-away
=====================

dead-simple file "database" for testing, mocking, click-dummies &amp; POCs

v1.0.0(5y ago)0151MITHTMLPHP ^7.4CI failing

Since Jul 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sroehrl/fileAway)[ Packagist](https://packagist.org/packages/neoan3-apps/file-away)[ RSS](/packages/neoan3-apps-file-away/feed)WikiDiscussions master Synced yesterday

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

[![Maintainability](https://camo.githubusercontent.com/f12099eb536f9e122699350ad02a87883d572e38e8924011fb415e34057fb120/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63346230343130303537326638303631373761612f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/sroehrl/fileAway/maintainability)[![Test Coverage](https://camo.githubusercontent.com/0790cec230efd81c5862cb5e1071f8c0d213e6e88210f43a52776504fb4ef8ba/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63346230343130303537326638303631373761612f746573745f636f766572616765)](https://codeclimate.com/github/sroehrl/fileAway/test_coverage)[![Build Status](https://camo.githubusercontent.com/75ea646cc370b2ffae2ef3fcc9b4e738d1c87e9f996babcc8241f64ab32a17ad/68747470733a2f2f7472617669732d63692e636f6d2f73726f6568726c2f66696c65417761792e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/sroehrl/fileAway)

fileAway pseudo database
========================

[](#fileaway-pseudo-database)

Test, Mock, Store, Show, Develop faster examples, mock-APIs and apps.

This "database" solution is meant for rapid development and not intended to be used in production. If used in production, please consider the following:

- is the location of the json-file secure? (e.g. protect via .htaccess in apache)
- will I require scalability or handling of bigger datasets? (If so: this is not your production solution!)

### What is it used for?

[](#what-is-it-used-for)

Ever needed to quickly scaffold an API? Ever needed some test data for your unit tests? Ever wanted to create a quick proof of concept? This "database" is for you.

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

[](#installation)

`composer require neoan3-apps/file-away`

Usage
-----

[](#usage)

```
$db = new \Neoan3\Apps\FileAway('storage.json');

// add entry to new or existing entity
$db->setEntity('articles') // set current entity
   ->add(['title'=>'demo post', 'content' => 'such text']) // add entry to entity
   ->save() // write to db

// list all entries (NOTE: we assume that the entity is still set)
foreach($db->find() as $post) {
    echo $post->title . "";
}

// find one
echo $db->findOne(['title' => 'demo post'])->content;
```

Collaboration
-------------

[](#collaboration)

Feel free to add issues, pull-requests &amp; suggestions

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

2117d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92d2361b646651e3452a62d07274076346c4096480098a6c43d6c27ee28d460d?d=identicon)[neoan](/maintainers/neoan)

---

Top Contributors

[![sroehrl](https://avatars.githubusercontent.com/u/28542911?v=4)](https://github.com/sroehrl "sroehrl (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/neoan3-apps-file-away/health.svg)

```
[![Health](https://phpackages.com/badges/neoan3-apps-file-away/health.svg)](https://phpackages.com/packages/neoan3-apps-file-away)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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