PHPackages                             sunnysideup/huringa - 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. sunnysideup/huringa

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

sunnysideup/huringa
===================

Runs code upgrades and transformations

0178PHP

Since Mar 27Pushed 5y ago2 watchersCompare

[ Source](https://github.com/sunnysideup/sunnysideup-huringa)[ Packagist](https://packagist.org/packages/sunnysideup/huringa)[ RSS](/packages/sunnysideup-huringa/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

huringa
=======

[](#huringa)

Change for code.

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

[](#installation)

```
composer require sunnysideup/huringa

```

Running
-------

[](#running)

Run the following script via the terminal. The tool recursively checks folders.

```
./vendor/sunnysideup/huringa/huringa.php ./app [--dry-run] [--help] [--disable-constructor-rewrite] [--disable-class-file-create]
```

Supported operations
--------------------

[](#supported-operations)

This repository handles the following transformations:

### Constructor rewrite

[](#constructor-rewrite)

**MyClass.php**

```
class MyClass
{
    - public function MyClass()
    + public function __constructor()
}

```

### Split files

[](#split-files)

**MyClass.php**

```
class MyClass { }

class MyClass_Controller { }

```

**MyClass.php**

```
class MyClass { }

```

**MyClass\_Controller.php**

```
class MyClass_Controller { }

```

Testing
-------

[](#testing)

Test inputs, and samples are located in `tests/samples`

```
./vendor/bin/phpunit tests/UnitTests.php

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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/167154?v=4)[Sunny Side Up](/maintainers/sunnysideup)[@sunnysideup](https://github.com/sunnysideup)

---

Top Contributors

[![sunnysideup](https://avatars.githubusercontent.com/u/167154?v=4)](https://github.com/sunnysideup "sunnysideup (4 commits)")[![wilr](https://avatars.githubusercontent.com/u/101629?v=4)](https://github.com/wilr "wilr (2 commits)")

### Embed Badge

![Health badge](/badges/sunnysideup-huringa/health.svg)

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

###  Alternatives

[humanmade/hm-redirects

Simple plugin for handling WordPress redirects in a scalable manner.

29229.9k2](/packages/humanmade-hm-redirects)

PHPackages © 2026

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