Download the PHP package peakhour/magento2 without Composer

On this page you can find all versions of the php package peakhour/magento2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento2

Peakhour website acceleration for Magento 2

Congratulations on choosing Peakhour 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

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, 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

This is only available for Magento 2.2.x and greater, see the official magento doc page

Install via Composer

This will be done via command line on your Magento server. You will have to make sure you have composer installed.

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

Install via zip file

  1. Visit our github page
  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

  1. Log in to your Magento admin
  2. Navigate to Stores -> Configuration, then Advanced -> 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


All versions of magento2 with dependencies

PHP Build Version
Package Version
Requires php Version ~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
magento/module-config Version >=101.2.0
magento/module-store Version >=101.1.0
magento/module-page-cache Version >=100.4.0
magento/module-cache-invalidate Version >=100.4.0
magento/framework Version >=103.0.0
laminas/laminas-http Version ^2.6.0
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package peakhour/magento2 contains the following files

Loading the files please wait ....