Download the PHP package yireo/magento1-mpi without Composer

On this page you can find all versions of the php package yireo/magento1-mpi. 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 magento1-mpi

Yireo MPI (Magento Performance Insights)

This repository contains the sources for a Magento 1 extension, that adds an API to Magento, used by the Magento Performance Insights (MPI) service developed by Yireo. https://www.yireo.com/services/magento-services/magento-performance-insights

About the Magento Performance Insights service

The Yireo MPI service allows you to quickly gather numerous metrics from your Magento shop and its hosting environment. With an active MPI subscription, these data are then collected and stored on a private Yireo server. Next, the data are interpreted and presented to you visually on the Yireo site. In the end, you get an overview of performance settings, specific to your environment, and custom personal advice on how to optimize things to the max.

Authentication

Access to the API is only allowed when a specific secret is added to the URL calls. The secret must be of a length of 10 characters or more, and can be configured in the Magento System Configuration in the section Yireo MPI. After the secret is set, the URLs need to get the additional secret as follows:

http://MAGENTO/mpi/index/index/secret/SECRET

Access to the API

There are 2 ways to access the API of this MPI extension. The first method is to call upon the modules URL starting with mpi - this is the MVC method. The second method is to call upon the file yireo_mpi.php - this is the entry-file method.

MVC method

The index action of the IndexController can be accessed as such:

http://MAGENTO/mpi/index/index/secret/SECRET

This gives a listing of all the available metric-groups and their metrics.

To get all data from the metric-group "basic", use the following:

http://MAGENTO/mpi/index/collect/group/basic/secret/SECRET

To get all data from the metric "test", use the following:

http://MAGENTO/mpi/index/collect/metric/test/secret/SECRET

Note that one metric might still contain multiple results.

The API only handles basic GET and POST requests, no fancy REST or JSON-RPC.

Entry-file method

The entry-file can be accessed as such:

http://MAGENTO/yireo_mpi.php

To get all data from the metric-group basic, use the following:

http://MAGENTO/yireo_mpi.php?action=collect&group=basic&secret=SECRET

You can use the group all for all resources.

Format

By default, the output is JSON format. You can switch to a simple PHP dump by changing the format parameter in the URL:

http://MAGENTO/mpi/index/index/format/json
http://MAGENTO/mpi/index/index/format/dump

Instructions for using composer

Use composer to install this extension. First make sure to initialize composer with the right settings:

composer -n init
composer install --no-dev

Next, modify your local composer.json file:

{
    "require": {
        "yireo/magento1-mpi": "dev-master",
        "magento-hackathon/magento-composer-installer": "*"
    },    
    "repositories":[
        {
            "packagist": false
        },
        {
            "type":"composer",
            "url":"https://packages.firegento.com"
        },
        {
            "type":"composer",
            "url":"https://satis.yireo.com"
        }
    ],
    "extra":{
        "magento-root-dir":"/path/to/magento",
        "magento-deploystrategy":"copy"           
    }
}

Make sure to set the magento-root-dir properly. Test this by running:

composer update --no-dev

Done.


All versions of magento1-mpi with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
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 yireo/magento1-mpi contains the following files

Loading the files please wait ....