Download the PHP package eliksir/mailmojo-php-sdk without Composer

On this page you can find all versions of the php package eliksir/mailmojo-php-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 mailmojo-php-sdk

MailMojo SDK for PHP

v1 of the MailMojo API

This package is automatically generated by the Swagger Codegen project:

For more information, please visit https://mailmojo.dev

Requirements

PHP 5.5.0 and later

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Tests

To run the unit tests:

Getting Started

Please follow the installation procedure. The following is an automatically generated example executing one operation, just to illustrate how the library is used in general:

Documentation for API Endpoints

All URIs are relative to https://api.mailmojo.no

Class Method HTTP request Description
AccountApi createAccount POST /v1/accounts/ Create an account.
AccountApi getAccountByUsername GET /v1/accounts/{username}/ Retrieve account details.
AccountApi getDomain GET /v1/domains/{domain_id}/ Retrieve domain details and authentication status.
AccountApi getDomains GET /v1/domains/ Retrieve a list of all domains and their status.
AccountApi updateAccount POST /v1/accounts/{username}/ Update account details.
AutomationApi getCampaignById GET /v1/campaigns/{campaign_id}/ Retrieve an automation campaign by id.
ContactApi getContactByEmail GET /v1/contacts/{email}/ Retrieve a contact in any list by email.
ContactApi getContacts GET /v1/contacts/ Retrieve all contacts across every list.
ContactApi getHistoricalContactStats GET /v1/contacts/stats/ Retrieve historical stats over contacts across every list.
ContactApi getSubscriberOnListByEmail GET /v1/lists/{list_id}/subscribers/{email}/ Retrieve a subscriber.
ContactApi getSubscribersOnList GET /v1/lists/{list_id}/subscribers/ Retrieve subscribers on a list.
ContactApi getUnsubscribedOnList GET /v1/lists/{list_id}/unsubscribed/ Retrieve unsubscribed contacts on a list.
ContactApi subscribeContactToList POST /v1/lists/{list_id}/subscribers/ Subscribe a contact to the email list.
ContactApi unsubscribeContactOnListByEmail DELETE /v1/lists/{list_id}/subscribers/{email}/ Unsubscribe a contact.
ContactApi updateContact PATCH /v1/contacts/{email}/ Update details about a contact.
EmbedApi createEmbedSession POST /v1/embed/ Create a new embedded application session.
FormApi formAddSubscriber PATCH /v1/forms/{id}/subscribers/ Add a subscriber through a form and track the conversion.
FormApi getFormById GET /v1/forms/{id}/ Retrieve a form.
FormApi getForms GET /v1/forms/ Retrieve all forms.
FormApi trackFormView PATCH /v1/forms/{id}/track/view/ Track a view of a form.
FormApi updateForm PATCH /v1/forms/{id}/ Update a form partially.
ListApi createList POST /v1/lists/ Create an email list.
ListApi createSegment POST /v1/lists/{list_id}/segments/ Create a segment in the email list.
ListApi getListById GET /v1/lists/{list_id}/ Retrieve an email list.
ListApi getLists GET /v1/lists/ Retrieve all email lists.
ListApi getSubscriberOnListByEmail GET /v1/lists/{list_id}/subscribers/{email}/ Retrieve a subscriber.
ListApi getSubscribersOnList GET /v1/lists/{list_id}/subscribers/ Retrieve subscribers on a list.
ListApi getUnsubscribedOnList GET /v1/lists/{list_id}/unsubscribed/ Retrieve unsubscribed contacts on a list.
ListApi importSubscribersToList POST /v1/lists/{list_id}/subscribers/import/ Subscribe contacts to the email list.
ListApi subscribeContactToList POST /v1/lists/{list_id}/subscribers/ Subscribe a contact to the email list.
ListApi unsubscribeContactOnListByEmail DELETE /v1/lists/{list_id}/subscribers/{email}/ Unsubscribe a contact.
ListApi updateList PATCH /v1/lists/{list_id}/ Update an email list partially.
NewsletterApi cancelNewsletter PUT /v1/newsletters/{newsletter_id}/cancel/ Cancel a newsletter.
NewsletterApi createNewsletter POST /v1/newsletters/ Create a newsletter draft.
NewsletterApi getNewsletterById GET /v1/newsletters/{newsletter_id}/ Retrieve a newsletter by id.
NewsletterApi getNewsletters GET /v1/newsletters/ Retrieve all newsletters.
NewsletterApi sendNewsletter PUT /v1/newsletters/{newsletter_id}/send/ Send a newsletter.
NewsletterApi testNewsletter POST /v1/newsletters/{newsletter_id}/send_test/ Send a test newsletter.
NewsletterApi updateNewsletter PATCH /v1/newsletters/{newsletter_id}/ Update a newsletter draft partially.
PageApi getPageById GET /v1/pages/{id}/ Retrieve a landing page.
PageApi getPages GET /v1/pages/ Retrieve all landing pages.
PageApi trackPageView PATCH /v1/pages/{id}/track/view/ Track a view of a landing page.
PageApi updatePage PATCH /v1/pages/{id}/ Update a landing page partially.
SegmentApi createSegment POST /v1/lists/{list_id}/segments/ Create a segment in the email list.
TemplateApi getTemplates GET /v1/templates/ Retrieve all templates.
WebhookApi createWebhook POST /v1/webhooks/ Create a webhook.
WebhookApi deleteWebhook DELETE /v1/webhooks/{id}/ Delete a webhook.

Documentation For Models

Documentation For Authorization

mailmojo_auth

Author

[email protected]


All versions of mailmojo-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2
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 eliksir/mailmojo-php-sdk contains the following files

Loading the files please wait ....