PHPackages                             myjw3b/file-writing - 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. myjw3b/file-writing

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

myjw3b/file-writing
===================

File database handler for easily storing, updating, and selecting info.

0161PHP

Since Mar 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/myJW3B/File-Writing)[ Packagist](https://packagist.org/packages/myjw3b/file-writing)[ RSS](/packages/myjw3b-file-writing/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

File-Writing
============

[](#file-writing)

An easy way to store some config operations within text files.

Install
=======

[](#install)

```
composer require myjw3b/file-writing
```

Autoload
========

[](#autoload)

make sure to include this at the top of your page

```
use JW3B\Data\FileWriting;
include "vendor/autoload.php";
```

Storage
=======

[](#storage)

```
$FileWriting = new FileWriting('cache/file-data');
$FileWriting->save('name/to-reference/later',[
	'works' => [
		'with' => 'arrays',
		'multi' => [
			'deep' => 'it doesnt',
			'matter' => [
				'how' => [
					'deep' => 'you go'
				]
			]
		]
	]
]);
```

Retreiving Data
===============

[](#retreiving-data)

```
$FileWriting = new FileWriting('cache/file-data');
$var = $FileWriting->get_file('name/to-reference/later');

echo ''.print_r($var,1).'';
```

Output
======

[](#output)

```
Array
(
    [works] => Array
        (
            [with] => arrays
            [multi] => Array
                (
                    [deep] => it doesnt
                    [matter] => Array
                        (
                            [how] => Array
                                (
                                    [deep] => you go
                                )
                        )
                )
        )
)

```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2002591?v=4)[JWB](/maintainers/Yohn)[@Yohn](https://github.com/Yohn)

---

Top Contributors

[![Yohn](https://avatars.githubusercontent.com/u/2002591?v=4)](https://github.com/Yohn "Yohn (16 commits)")

---

Tags

filefile-data-storagefilesfilesystem

### Embed Badge

![Health badge](/badges/myjw3b-file-writing/health.svg)

```
[![Health](https://phpackages.com/badges/myjw3b-file-writing/health.svg)](https://phpackages.com/packages/myjw3b-file-writing)
```

PHPackages © 2026

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