endeavors / maxmd-message
Maxmd messaging api php client
v3.0.7
2019-11-01 17:45 UTC
Requires
- php: >=7.0
- ext-xsl: *
- endeavors/maxmd-support: ~1.4.0
- endeavors/sqlserver-moment: 1.0.*@dev
- endeavors/support-vo: ^2.0
- php-imap/php-imap: 3.0.10
Requires (Dev)
- phpunit/phpunit: ^7.0
- dev-master
- 3.0.x-dev
- dev-develop / 3.0.x-dev
- v3.0.7
- v3.0.6
- 3.0.5
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.2.x-dev
- 2.2.0
- 2.1.x-dev
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.x-dev
- 2.0.2
- 2.0.1
- 2.0.0
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.x-dev
- 1.0.0
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- dev-master-30
- dev-develop-2
This package is not auto-updated.
Last update: 2024-12-22 06:31:46 UTC
README
This library is an adaptation of the api provided by maxmd. The idea is to make it dead simple to build an inbox using php.
Authentication
use Endeavors\MaxMD\Message\User; ... User::login("your@domain.direct.eval.md", "password");
Viewing A Message
To view a message, simply create a folder instance and send the uid of the message to the View method:
use Endeavors\MaxMD\Message\Folder; $folder = Folder::create("Inbox"); $message = $folder->Messages()->View(1);
Viewing All Messages
The All method returns a simple array of objects
use Endeavors\MaxMD\Message\Folder; $folder = Folder::create("Inbox"); $message = $folder->Messages()->All();