dwsla / service-mpx
A PHP 5.4 library for accessing MPX services from ThePlatform (mpx.theplatform.com)
Installs: 2 673
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 1
Open Issues: 0
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ^6.0
- monolog/monolog: ~1.2
Requires (Dev)
- phpunit/phpunit: ^5.5
This package is not auto-updated.
Last update: 2022-02-01 12:33:57 UTC
README
A PHP 5.3 library to access MPX services from The Platform
Requirements
- PHP 5.3+
- Composer (Recommended)
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