Download the PHP package directmailmanager/php-dmm-api without Composer
On this page you can find all versions of the php package directmailmanager/php-dmm-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download directmailmanager/php-dmm-api
More information about directmailmanager/php-dmm-api
Files in directmailmanager/php-dmm-api
Package php-dmm-api
Short Description A simple Object Oriented wrapper for DMM API, written with PHP
License MIT
Informations about the package php-dmm-api
Official Direct Mail Manager v3 SDK for PHP
A simple Object-Oriented wrapper for DMM API, written with PHP.
| Version | Build Status | Code Coverage |
|---|---|---|
main |
||
develop |
Features
- Light and fast thanks to lazy loading of API classes
Prerequisites
First, you will need to first create an account at directmailmanager.com and obtain your Live API Key. You may access your API Keys from the Settings > API Keys after you've created an account.
Requirements
- PHP >= 8.0
- A HTTP client
- A PSR-7 implementation
- (optional) PHPUnit to run tests.
Getting started
Install
To install the SDK you will need to be using Composer in your project. To install it please see the docs.
The package (directmailmanager/php-dmm-api) is not tied to any specific library that sends HTTP messages. Instead,
it uses Httplug to let users choose whichever
PSR-7 implementation and HTTP client they want to use.
If you just want to get started quickly you should run the following command:
This is basically what the metapackage (directmailmanager/php-dmm-api) provides.
This will install the library as well as an HTTP client adapter that use Guzzle as a transport
method (provided by Httplug).You do not have to use those
packages if you do not want to. You may
use any package that provides php-http/async-client-implementation
and http-message-implementation.
Documentation
See the PHP API docs.
All versions of php-dmm-api with dependencies
psr/http-message Version ^1.0
psr/http-client-implementation Version ^1.0
php-http/httplug Version ^2.0
php-http/discovery Version ^1.0
php-http/client-common Version ^2.6