Download the PHP package mailerlite/mailerlite-php without Composer
On this page you can find all versions of the php package mailerlite/mailerlite-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mailerlite/mailerlite-php
More information about mailerlite/mailerlite-php
Files in mailerlite/mailerlite-php
Package mailerlite-php
Short Description MailerLite PHP SDK
License MIT
Homepage https://github.com/mailerlite/mailerlite-php
Informations about the package mailerlite-php
Table of Contents
- Installation
- Usage
- Subscriber API
- Create
- Read
- Update
- Delete
- Campaign API
- Create
- Read
- Update
- Delete
- Schedule
- Cancel
- Subscriber activity
- Group API
- Create
- Update
- Read
- Delete
- Get subscribers
- Assign subscriber
- Unassign subscriber
- Segment API
- Update
- Read
- Delete
- Get subscribers
- Field API
- Create
- Update
- Read
- Delete
- Form API
- Update
- Read
- Delete
- Signups
- Automation API
- Read
- Activity
- Webhook API
- Create
- Update
- Read
- Delete
- Campaign language API
- Timezone API
- Batch API
- Subscriber API
- Testing
- License
Installation
Requirements
- PHP 7.4
- An API Key from MailerLite
- PSR-7 and PSR-18 based HTTP adapter
Setup
If you get an error saying “Could not find resource using any discovery strategy.” it means that all the discovery strategies have failed. Most likely, your project is missing the message factories and/or a PRS-7 implementation. To resolve this you may run
Usage
Subscriber
More information on request parameters: https://developers.mailerlite.com/docs/subscribers.html
Create
Read
Single record
All records
Update
Delete
Campaign
More information on request parameters: https://developers.mailerlite.com/docs/campaigns.html
Create
Read
Single record
All records
Update
Delete
Schedule
Cancel
Subscriber activity of sent campaign
Group API
More information on request parameters: https://developers.mailerlite.com/docs/groups.html
Create
Read
Single record
All records
Update
Delete
Get subscribers who belong to a group
Assign subscriber to a group
unassign subscriber from a group
Segment API
More information on request parameters: https://developers.mailerlite.com/docs/segments.html
Read
All records
Update
Delete
Get subscribers who belong to a segment
Field API
More information on request parameters: https://developers.mailerlite.com/docs/fields.html
Create
Read
All records
Update
Delete
Form API
More information on request parameters: https://developers.mailerlite.com/docs/forms.html
Read
All records
Single
Update
Delete
Signed up subscribers
Automation API
More information on request parameters: https://developers.mailerlite.com/docs/automations.html
Read
All records
Single
Activity
Webhook API
More information on request parameters: https://developers.mailerlite.com/docs/webhooks.html
Create
Read
All records
Single
Update
Delete
Campaign language API
More information about request parameters on https://developers.mailerlite.com/docs/campaign-languages.html
Read
Timezone API
More information about request parameters on https://developers.mailerlite.com/docs/timezones.html
Read
Batch API
More information about request parameters on https://developers.mailerlite.com/docs/batching.html
Send
Testing
Support and Feedback
In case you find any bugs, submit an issue directly here in GitHub.
You are welcome to create SDK for any other programming language.
If you have any troubles using our API or SDK free to contact our support by email [email protected]
License
The MIT License (MIT)
All versions of mailerlite-php with dependencies
php Version ^7.4|^8.0
php-http/client-common Version ^2.2
php-http/discovery Version ^1.9
php-http/httplug Version ^2.1
psr/http-client-implementation Version ^1.0
psr/http-message Version ^1.0 || ^2.0