Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ebitkov/php-mailjet-api
OOP extension for the PHP Mailjet Wrapper.
https://github.com/ebitkov/php-mailjet-api
api mailjet mailjet-api mailjet-sdk php
Last synced: about 2 months ago
JSON representation
OOP extension for the PHP Mailjet Wrapper.
- Host: GitHub
- URL: https://github.com/ebitkov/php-mailjet-api
- Owner: ebitkov
- Created: 2024-01-16T20:01:56.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-03-01T13:47:58.000Z (10 months ago)
- Last Synced: 2024-10-07T08:18:51.465Z (3 months ago)
- Topics: api, mailjet, mailjet-api, mailjet-sdk, php
- Language: PHP
- Homepage:
- Size: 158 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Mailjet API
This project builds upon the official [Mailjet PHP Wrapper](https://github.com/mailjet/mailjet-apiv3-php) and extends
its functionality.## Installation
```shell
composer require ebitkov/php-mailjet-api
```## Features
> This project is currently in development. Features might be not implemented yet or highly experimental.
### Serialization
Leveraging the [Symfony Serializer Component](https://symfony.com/doc/current/components/serializer.html) the response
data is automatically serialized into PHP objects to provide an easier interface.### Methods for Accessing Endpoints
The Mailjet PHP Wrapper only provides a basic client with methods for sending `GET`, `POST`, `PUT` and `DELETE` request.
This projects provides methods for the individuals endpoints (e.g. `/contact` or `/contactslist`), making sending
requests easier.Those methods return serialized objects with the returned data and provide 'intermediate' methods for convenience, where
Mailjet hasn't a dedicated interface.### Caching Results
Results from the API are getting cached, so already received data is not requested twice.