A PHP 5.3 library to access MPX services from The Platform
- PHP 5.3+
- Composer (Recommended)
In your composer.json
, add the following require directive:
{
"require" : {
// other requirements
// here
// this library
"dwsla/service-mpx" : "master-dev"
}
}
Then run:
$ composer update
@todo
@todo
@todo
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