PHPackages                             oploshka/reform - 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. oploshka/reform

ActiveLibrary

oploshka/reform
===============

0.4.0(6y ago)1563proprietaryPHPPHP &gt;=7.2.0

Since Oct 4Pushed 5y agoCompare

[ Source](https://github.com/oploshka/Reform)[ Packagist](https://packagist.org/packages/oploshka/reform)[ RSS](/packages/oploshka-reform/feed)WikiDiscussions master Synced 3d ago

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

Reform
======

[](#reform)

A very lightweight PHP class that converts data to a specified format.

- [1.Installation](#block1)
- [2. Features](#block2)
- [3. Usage](#block3)
- [4. Code Quality](#block5)
- [5. Author](#block6)
- [6. Special Thanks](#block6)
- [7. License](#block7)

1.Installation
--------------

[](#1installation)

The recommended way to install is through [Composer](http://getcomposer.org). Run the following command to install it:

```
php composer.phar require oploshka/reform
```

2. Features
-----------

[](#2-features)

**Simplicity**

- simple casts are available out of the box.

**Scalability**

- Ability to write your own transformation.
- Possibility to combine your own and built-in transformations
- The ability to override the built-in conversion.

3. Usage
--------

[](#3-usage)

Sample code:

```
$Reform = new \Oploshka\Reform\Reform(['string' => 'Oploshka\\ReformItem\\StringReform']);
$result = $Reform->item('string', ['type' => 'string']);
```

More info in docs

4. Testing
----------

[](#4-testing)

Testing has been done using PHPUnit. Code has been tested to be PHP 7.0.

5. Author
---------

[](#5-author)

Andrey Tyurin

-

6. Special Thanks
-----------------

[](#6-special-thanks)

I would like to thank all the people who know me and surround me.

7. License
----------

[](#7-license)

"Reform" is licensed under the MIT license.

```
Copyright (c) 2018 Andrey Tyurin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

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

Every ~37 days

Recently: every ~74 days

Total

9

Last Release

2478d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.4.0

0.3.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e7f8dd78e7a98e68722f5b810a557b74e5097c97536de2c2a781f4832e1cdfd?d=identicon)[oploshka](/maintainers/oploshka)

---

Top Contributors

[![oploshka](https://avatars.githubusercontent.com/u/43810171?v=4)](https://github.com/oploshka "oploshka (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oploshka-reform/health.svg)

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

PHPackages © 2026

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