PHPackages                             thonyx/phppods - 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. thonyx/phppods

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

thonyx/phppods
==============

PHP helper

1.0.1(8y ago)025MITPHP

Since Mar 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/thonyx/phppods)[ Packagist](https://packagist.org/packages/thonyx/phppods)[ RSS](/packages/thonyx-phppods/feed)WikiDiscussions master Synced 2w ago

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

PHPpods
=======

[](#phppods)

A series of helpful components for building rapid PHP applications.

What's available?
=================

[](#whats-available)

- Array from dot notation
- Create php files on demand by using a template or a stub file

How to install?
===============

[](#how-to-install)

```
composer require thonyx/phppods
```

Want to see it in action?
=========================

[](#want-to-see-it-in-action)

Run a test! After installing the package, go to --from within your PHP project-- /vendor/thonyx/phppods and run:

e.g: Convert an array back from a dot notation

```
composer install && php UndotterTest.php
```

How to use it?
==============

[](#how-to-use-it)

All available functions are accessible as follows:

\\Axonbits\\ComponentName::functionName();

Arrray from dot notation
------------------------

[](#arrray-from-dot-notation)

Transform back into a multidimensional array, one with flattened key-value pairs from a "dot" notation.

Before calling the function:

```
\Axonbits\Arrays::undot[
	'name'=>'Yale',
	'timeseries.2014.enrollment'=>'1',
	'timeseries.2014.cost'=>'100',
	'timeseries.2015.enrollment'=>'200',
	'timeseries.2015.cost'=>'200',
	'groups.colors.default'=>'#white',
	'groups.colors.blue'=>'#lalala'
]);
```

After calling the function

```
[
  'name' => 'Yale',
  'timeseries' =>
  [
    2014 =>
    [
      'enrollment' => '1',
      'cost' => '100',
    ],
    2015 =>
    [
      'enrollment' => '200',
      'cost' => '200',
    ],
  ],
  'groups' =>
  [
    'colors' =>
    [
      'default' => '#white',
      'blue' => '#lalala',
    ],
  ],
]
```

When transforming arrays you can specify the format the function call should return the response:

\--Available: JSON or ARRAY--

e.g: Return the result as as Json

```
\Axonbits\Arrays::toJson()->undot[
	'name'=>'Yale',
	'timeseries.2014.enrollment'=>'1',
	'timeseries.2014.cost'=>'100',
	'timeseries.2015.enrollment'=>'200',
	'timeseries.2015.cost'=>'200',
	'groups.colors.default'=>'#white',
	'groups.colors.blue'=>'#lalala'
]);
```

Filesystem: Create files from a template or stub file
-----------------------------------------------------

[](#filesystem-create-files-from-a-template-or-stub-file)

Example:

```
\Axonbits\Filesystem::
    newFile(__DIR__ . '/tmp/SessionClass.php')
    ->withStub($stubPath = __DIR__ . '/tmp/DummyClass.php', [
        'DummyClass'     => 'SessionClass',
        'DummyTimestamp' => '"2018-01-01"',
        'DummyNamespace' => 'App\\Sessions',
    ])
    ->write();

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3008d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

backendframeworklaravelphp

### Embed Badge

![Health badge](/badges/thonyx-phppods/health.svg)

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

###  Alternatives

[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k35.3M364](/packages/yajra-laravel-datatables-oracle)[illuminate/session

The Illuminate Session package.

9938.5M823](/packages/illuminate-session)[glorand/laravel-model-settings

Model Settings for your Laravel app

9141.1M4](/packages/glorand-laravel-model-settings)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40140.4k2](/packages/erlandmuchasaj-laravel-gzip)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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