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 3d 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 49% 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

2962d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9978c85665fa8d230bc87c8ff25d54859e414a8ab9b798cad4e9822f4b9721f?d=identicon)[anthony2727](/maintainers/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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k33.8M339](/packages/yajra-laravel-datatables-oracle)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/session

The Illuminate Session package.

9937.4M753](/packages/illuminate-session)[ashallendesign/favicon-fetcher

A Laravel package for fetching website's favicons.

190272.4k3](/packages/ashallendesign-favicon-fetcher)[recca0120/laravel-erd

Laravel ERD automatically generates Entity-Relationship Diagrams from your Laravel models and displays them using Vuerd.

36072.0k](/packages/recca0120-laravel-erd)

PHPackages © 2026

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