dwsla/service-mpx

This package is abandoned and no longer maintained. No replacement package was suggested.

A PHP 5.4 library for accessing MPX services from ThePlatform (mpx.theplatform.com)

5.0.0 2018-07-02 02:56 UTC

README

A PHP 5.3 library to access MPX services from The Platform

Requirements

Installation

In your composer.json, add the following require directive:

{
    "require" : {

        // other requirements
        // here

        // this library
        "dwsla/service-mpx" : "master-dev"
    }
}

Then run:

$ composer update

Components

MediaFeed

@todo

Authentication

@todo

FeedConfig

@todo

Development/Testing

To run the unit-tests:

$ git clone git@github.com:dwsla/service-mpx
$ cd ./service-mpx
$ composer install --dev
$ ./bin/phpunit -c ./tests/config/phpunit.xml ./tests/unit

To run the integration tests copy the file ./tests/config/mpx/local.php.dist to ./tests/config/mpx/local.php. The populate some values for user and pass (for the AuthenticationServiceTest) and feed urls (for the MediaFeedServiceTest).

Then run:

$ ./bin/phpunit -c ./tests/config/phpunit.xml ./tests/integration