Download the PHP package mepost/mepost-sdk without Composer

On this page you can find all versions of the php package mepost/mepost-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mepost-sdk

Mepost PHP SDK

The mepost-sdk is a PHP library designed to simplify interactions with the Mepost API. It provides convenient methods to send and manage messages efficiently. This SDK is perfect for developers looking to integrate Mepost messaging capabilities into their applications.

Features

Installation

To install the mepost-sdk for PHP, you can use Composer. If you don't have Composer installed, you can download it from getcomposer.org.

Run the following command to install the SDK:

Usage

Here is a quick example to get you started:

API Methods

MepostClient($config)

Initializes and returns a new instance of MepostClient.

Company Endpoints

addDomain(AddDomainRequest $request)

Adds a domain to the Mepost account.

getDomainList()

Retrieves a list of domains associated with the Mepost account.

removeDomain(RemoveDomainRequest $request)

Removes a domain from the Mepost account.

Groups Endpoints

listGroups($limit = 10, $page = 1)

Retrieves a list of email groups.

createGroup(CreateNewGroupRequest $request)

Creates a new email group.

deleteGroup($groupId)

Deletes an email group.

getGroupById($groupId)

Retrieves information about a specific email group.

updateGroup($groupId, RenameGroupRequest $request)

Updates the name of an email group.

Subscribers Endpoints

listSubscribers($groupId, $limit = 10, $page = 1)

Retrieves a list of subscribers in a group.

addSubscriber($groupId, CreateSubscriberRequest $request)

Adds a subscriber to a group.

deleteSubscriber($groupId, DeleteSubscriberRequest $request)

Deletes a subscriber from a group.

getSubscriberByEmail($groupId, $email)

Retrieves subscriber details by email.

Messages Endpoints

getMessageInfo($scheduleId, $email)

Retrieves information about a specific scheduled message.

cancelScheduledMessage(CancelScheduledMessageRequest $request)

Cancels a scheduled message.

sendMarketing(SendMarketingRequest $request)

Sends a marketing email.

sendMessageByTemplate(SendMessageByTemplateRequest $request)

Sends an email using a template.

getScheduleInfo($scheduleId)

Retrieves schedule information for a specific scheduled message.

sendTransactional(SendTransactionalRequest $request)

Sends a transactional email.

sendTransactionalByTemplate(SendMessageByTemplateRequest $request)

Sends a transactional email using a template.

Outbound IP Endpoints

createIpGroup(CreateIpGroupRequest $request)

Creates a new IP group.

getIpGroupInfo($name)

Retrieves information about a specific IP group.

listIpGroups()

Retrieves a list of all IP groups.

cancelWarmup(CancelWarmUpRequest $request)

Cancels a warmup process for an IP address.

getIpInfo($ip)

Retrieves information about a specific IP address.

listIps()

Retrieves a list of all IP addresses.

setIpGroup(SetIpGroupRequest $request)

Assigns an IP address to a specific IP group.

startWarmup(StartWarmUpRequest $request)

Starts a warmup process for an IP address.

Contributing

Contributions are always welcome! Please read the contributing guide for ways to contribute to this project.

License

mepost-sdk is released under the MIT License. See the LICENSE file for more details.


All versions of mepost-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
guzzlehttp/guzzle Version ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mepost/mepost-sdk contains the following files

Loading the files please wait ....