PHPackages                             danog/7to5 - 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. danog/7to5

Abandoned → [phabel/phabel](/?search=phabel%2Fphabel)Library[Utility &amp; Helpers](/categories/utility)

danog/7to5
==========

Convert PHP 7 code to PHP 5 code

1.4.0(6y ago)21.3k1MITPHP ^5.6|^7.0|^7.1

Since Feb 19Compare

[ Source](https://github.com/danog/7to5)[ Packagist](https://packagist.org/packages/danog/7to5)[ Docs](https://github.com/danog/7to5)[ RSS](/packages/danog-7to5/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependencies (7)Versions (16)Used By (1)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/danog/7to5).

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Recently: every ~185 days

Total

14

Last Release

2345d ago

Major Versions

0.0.3 → 1.0.02016-03-28

PHP version history (2 changes)0.0.1PHP ^5.6|^7.0

1.1.0PHP ^5.6|^7.0|^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1586cd637028e4f8da85f2252b8f4b81e05f6b17a93f92c34ff064dd838e6bb?d=identicon)[danog](/maintainers/danog)

---

Tags

spatieconvertsyntaxtreePHP7abstract7to5

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/danog-7to5/health.svg)

```
[![Health](https://phpackages.com/badges/danog-7to5/health.svg)](https://phpackages.com/packages/danog-7to5)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[brianhenryie/strauss

Prefixes dependencies namespaces so they are unique to your plugin

190438.1k36](/packages/brianhenryie-strauss)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)

PHPackages © 2026

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