PHPackages                             peakhour/magento2 - 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. [Framework](/categories/framework)
4. /
5. peakhour/magento2

ActiveMagento2-module[Framework](/categories/framework)

peakhour/magento2
=================

Peakhour module for Magento 2.4.x

1.0.8(2y ago)0680BSD-3-ClausePHPPHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0

Since May 13Pushed 2y agoCompare

[ Source](https://github.com/peakhour-io/peakhour-magento2)[ Packagist](https://packagist.org/packages/peakhour/magento2)[ RSS](/packages/peakhour-magento2/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (6)Versions (8)Used By (0)

Peakhour website acceleration for Magento 2
===========================================

[](#peakhour-website-acceleration-for-magento-2)

Congratulations on choosing [Peakhour](https://www.peakhour.io) to accelerate your Magento 2 store. The Peakhour\_Cdn extension uses Magento's built in page caching functionality to list Peakhour.io as a full page cache option. This enables greatly simplified full page caching with Peakhour and automated flushing of Peakhour's global cache when editing content through the Magento admin.

Prerequisites
-------------

[](#prerequisites)

Before installing make a backup of your Magento site as a precaution. If you have a development environment it is strongly recommended that you install the plugin there first to test and confirm functionality.

You will need a Peakhour account to be able to utilise this plugin. If you don't already have one you can [sign up here](https://www.peakhour.io/app/signup/), pricing is based on page views and all new signups get a free trial. Once you have your account the only other change you need to make to activate our acceleration and web application firewall is a DNS change. Do not enable the plugin until you have successfully configured your domain behind the Peakhour service.

Install via Magento marketplace
-------------------------------

[](#install-via-magento-marketplace)

This is only available for Magento 2.2.x and greater, see the [official magento doc page](https://docs.magento.com/m2/ce/user_guide/system/web-setup-extension-manager.html)

Install via Composer
--------------------

[](#install-via-composer)

This will be done via command line on your Magento server. You will have to make sure [you have composer installed](https://getcomposer.org/download/).

- `php composer.phar require peakhour/magento2`
- `php bin/magento module:enable Peakhour_Cdn`
- `php bin/magento setup:upgrade`
- `php bin/magento cache:clean`

Then you can log in to the Magento admin and finish configuration.

Install via zip file
--------------------

[](#install-via-zip-file)

1. Visit our [github page](https://github.com/peakhour-io/peakhour-magento2)
2. Click on the 'clone or download' button and choose 'Download zip'
3. Upload the zip file to your Magento server.
4. Log onto the Magento server as the Magento user (if not possible to log in as the Magento User you will need to do some extra steps)
5. Change directory to the Magento home and create the directory `app/code/Peakhour/Cdn`
6. Change directory to the newly created directory from step 5.
7. unzip the zip file
8. change directory back to the Magento Home
9. verify with `php bin/magento module:status` and make sure Peakhour is listed
10. Enable module with `php bin/magento module:enable Peakhour_Cdn`
11. then run `php bin/magento setup:upgrade`
12. then clear caches with `php bin/magento cache:clean`

Configuration
-------------

[](#configuration)

1. Log in to your Magento admin
2. Navigate to Stores -&gt; Configuration, then Advanced -&gt; System, then Full Page Cache
3. Untick Use System Value
4. Select Peakhour.io from the dropdown for Caching Application
5. Expand the Peakhour.io Settings section
6. Enter your Peakhour API Key:
    1. Log in to your Peakhour account
    2. Click on API Keys in the left menu.
    3. If you don't have a key for your domain then enter your domain name and click Create
    4. Copy the generated key and paste into the API Key field in the Peakhour.io settings section
7. Enter your domain name and save config
8. Click 'Test Connection', you will hopefully see 'Success!'

Trouble shooting
----------------

[](#trouble-shooting)

- If you installed via zip file/command line you may run into file permission issues if you did not do everything as the Magento user. See [this stack overflow post](https://magento.stackexchange.com/questions/91870/magento-2-folder-file-permissions) to help resolve issues.
- If any of the bin/magento commands are failing make sure you have the same php version on the command line as the one that is running on your webserver.
- If you cannot resolve then disable the module `php bin/magento module:disable Peakhour_Cdn` and clean caches `php bin/magento cache:clean`

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity77

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

Recently: every ~177 days

Total

7

Last Release

966d ago

PHP version history (4 changes)1.0.0PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0

1.0.1PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0

1.0.3PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.0.0|~8.1.0

1.0.4PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0

### Community

Maintainers

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

---

Top Contributors

[![peakhour-io](https://avatars.githubusercontent.com/u/50435442?v=4)](https://github.com/peakhour-io "peakhour-io (33 commits)")

---

Tags

magento2magento2-extension

### Embed Badge

![Health badge](/badges/peakhour-magento2/health.svg)

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

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.4M1](/packages/fastly-magento2)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1010.0k22](/packages/loki-magento2-components)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)[mollie/magento2

Mollie Payment Module for Magento 2

1121.8M12](/packages/mollie-magento2)[baldwin/magento2-module-url-data-integrity-checker

Magento 2 module which can find potential url related problems in your catalog data

282806.2k](/packages/baldwin-magento2-module-url-data-integrity-checker)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50390.4k20](/packages/dotdigital-dotdigital-magento2-extension)

PHPackages © 2026

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