Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

dwsla/service-mpx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

======= service-mpx

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

About

A PHP 5.3 library to access MPX services from ThePlatform, http://mpx.theplatform.com

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages