{"repo":"mailerlite/mailerlite-api-v2-php-sdk","free":true,"listed":false,"github":"https://github.com/mailerlite/mailerlite-api-v2-php-sdk","clone":"git clone https://github.com/mailerlite/mailerlite-api-v2-php-sdk.git","description":"Official PHP wrapper for MailerLite Classic HTTP API v2","language":"PHP","stars":78,"topics":["php","php-sdk","mailerlite","mailerlite-api","email-marketing","email-campaigns","email","marketing-automation","marketing-emails"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"MailerLite Classic API v2 PHP SDK This library is for MailerLite Classic. If you want to integrate with MailerLite please use https://github.com/mailerlite/mailerlite-php instead. It is an official PHP SDK for the MailerLite Classic API. You can find more examples and information about the MailerLite Classic API here: https://developers-classic.mailerlite.com/docs Getting started In order to use this library you need to have at least PHP 7.1 version. There are two ways to use MailerLite PHP SDK: Use Composer If you are not familiar with Composer, learn about it here. Then you will need to run this simple command using CLI: This library is built atop of PSR-7 and PSR-18. If you are receiving Http\\Discovery\\Exception\\DiscoveryFailedException exception, you will need to run: Manual (preferable for shared hostings) This way is preferable only if you are using shared hosting and do not have a possibility to use Composer. You will need to download the source of the latest release from here, extract it and place its contents in the root folder of your project. The next step is the same as using Composer, you will need to require vendor/autoload.php file in your index.php and lets dive in! Usage examples Groups API In the given example you will see how to initiate selected API and a few actions which are available: - Create group - Get groups - Update group - Get subscribers who belongs to selected group Use multiple APIs at once Also MailerLiteApi\\MailerLite' object can be initiated","default_branch":null,"files":null,"tree":[],"storefront":"/r/mailerlite","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mailerlite/mailerlite-api-v2-php-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}