PHPackages                             mygento/php7 - 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. mygento/php7

ActiveMagento-module[Utility &amp; Helpers](/categories/utility)

mygento/php7
============

PHP 7 compatibility extension for Magento 1 by Inchoo

2.1.1(8y ago)12.7kMITPHP

Since Dec 15Pushed 8y ago2 watchersCompare

[ Source](https://github.com/mygento/php7)[ Packagist](https://packagist.org/packages/mygento/php7)[ RSS](/packages/mygento-php7/feed)WikiDiscussions mygento Synced 4d ago

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

Inchoo\_PHP7
============

[](#inchoo_php7)

PHP 7 compatibility extension for Magento 1 core by Inchoo. Article with some tests and stats: .

Compatibility
-------------

[](#compatibility)

Carefully choose the release that's appropriate for your Magento core!

### 1.1.0

[](#110)

Tested on M CE 1.9.2.2 - 1.9.2.4 &amp; M EE 1.14.2.2 - 1.14.2.4. Note that this version is also needed for these cores with SUPEE-8788 applied.

(CE version of extension is in 1.9.2.4 branch, and EE version is in EE branch.)

Older versions of Magento may work, but may also have other problems, not fixed by this extension.

If you can, upgrade to freshest Magento core first. If you can't, this may be a good starting point to make a branch for older versions.

Backwards compatible with PHP. Tested by us on PHP 5.6 &amp; 5.5. Users have reported it working fine even on 5.3.3. Installing the extension before switching to PHP 7 is a good idea.

Read the [Wiki](https://github.com/Inchoo/Inchoo_PHP7/wiki)! It contains a lot of great information and stuff you need to do or know about running M1 on PHP7.

### 2.1.1

[](#211)

Tested on M CE 1.9.3.\* &amp; M EE 1.14.3.\*.

This version removes all model overwrites and Mage\_Core\_Model\_File\_Uploader overload. That's fixed in 1.9.3 core.

Included fixes are:

- incorrect sorting in the calculation of the discount fix
- JSON decoding fix
- resource session fix
- Connect Packager fix
- Topological sort for proper ordering when doing totals calculation

Due to fixes implemented in Magento core, there is no need for different branches for CE and EE any more - this release works for both.

3rd party extensions
--------------------

[](#3rd-party-extensions)

May be incompatible with PHP 7. We can't do anything about that. But their authors can.

License
-------

[](#license)

MIT. (See LICENSE.txt).

Issues
------

[](#issues)

Yes. *(Of course.)* See Issues tab. Issue reporting is welcome. Pull requests are welcome. (But read [Wiki](https://github.com/Inchoo/Inchoo_PHP7/wiki) and existing code first.)

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

[](#installation)

For Composer install, available on Firegento:  .

For older Magento cores, use 1.9.2.4-dev or dev-EE for Enterprise version. For newer ones, just use current release (2.0.\*).

Or just download ZIP of the latest release and copy files to appropriate locations.

Remember to clear the cache. Also, check [Proper Installation](https://github.com/Inchoo/Inchoo_PHP7/wiki/ProperInstallation) Wiki page.

Test
----

[](#test)

After installation, run shell/inchoo\_php7\_test.php. This automated testing tool will check if the extension is successfully installed, is its version appropriate for your Magento Core version, is your server PHP version good, are rewrites in place, etc.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 76.3% 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 ~38 days

Recently: every ~31 days

Total

15

Last Release

3265d ago

Major Versions

0.3.2 → 1.0.32016-04-28

1.0.6 → 2.0.02016-10-18

1.0.7 → 2.0.12017-02-02

1.9.2.4-dev → 2.1.02017-04-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a45e667cab39265bb2da9daad9314886d5ffaf4b28a5beffe09d8ca9605022f?d=identicon)[mygento](/maintainers/mygento)

---

Top Contributors

[![icurdinj](https://avatars.githubusercontent.com/u/11748660?v=4)](https://github.com/icurdinj "icurdinj (58 commits)")[![benjamw](https://avatars.githubusercontent.com/u/186505?v=4)](https://github.com/benjamw "benjamw (5 commits)")[![sprankhub](https://avatars.githubusercontent.com/u/930199?v=4)](https://github.com/sprankhub "sprankhub (2 commits)")[![durzel](https://avatars.githubusercontent.com/u/7250950?v=4)](https://github.com/durzel "durzel (2 commits)")[![ernsto](https://avatars.githubusercontent.com/u/8912877?v=4)](https://github.com/ernsto "ernsto (1 commits)")[![chelevich](https://avatars.githubusercontent.com/u/1791881?v=4)](https://github.com/chelevich "chelevich (1 commits)")[![JustinElst](https://avatars.githubusercontent.com/u/249633?v=4)](https://github.com/JustinElst "JustinElst (1 commits)")[![luckyraul](https://avatars.githubusercontent.com/u/7735520?v=4)](https://github.com/luckyraul "luckyraul (1 commits)")[![PingusPepan](https://avatars.githubusercontent.com/u/2404541?v=4)](https://github.com/PingusPepan "PingusPepan (1 commits)")[![SergeyGribachev](https://avatars.githubusercontent.com/u/16560203?v=4)](https://github.com/SergeyGribachev "SergeyGribachev (1 commits)")[![DanielSousa](https://avatars.githubusercontent.com/u/906610?v=4)](https://github.com/DanielSousa "DanielSousa (1 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")[![EmPeWe](https://avatars.githubusercontent.com/u/5428554?v=4)](https://github.com/EmPeWe "EmPeWe (1 commits)")

### Embed Badge

![Health badge](/badges/mygento-php7/health.svg)

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

###  Alternatives

[inviqa/magento-symfony-container

Provides Magento with an instance of a Symfony DI Container

2436.5k](/packages/inviqa-magento-symfony-container)[tim-reynolds/magento-qconfig

Magento config quick search

513.0k](/packages/tim-reynolds-magento-qconfig)[fastly/cdn

Fastly CDN module for Magento 1.x

275.5k](/packages/fastly-cdn)[clerk/magento

Clerk.io Turns More Browsers Into Buyers

1029.4k](/packages/clerk-magento)

PHPackages © 2026

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