erwan-haquet / mailerlite-bundle
A symfony bundle for MailerLite
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.9
- guzzlehttp/guzzle: ^6.1
This package is not auto-updated.
Last update: 2025-01-04 20:52:27 UTC
README
Symfony bundle for MailerLite API
MailerLite API Method :
Lists
- getAllLists()
- getListDetails()
- addList()
- updateList()
- deleteList()
- getActiveSubscribers()
- getUnsubscribedSubscribers()
- getBouncedSubscribers()
Subscribers
- addSubscriber()
- unsubscribeSubscriber()
- deleteSubscriber()
Requirements
- Symfony 2.7.x
- guzzlehttp/guzzle >= 6.1
Installation
1) Download MailerLiteBundle using composer
Add MailerLiteBundle to your composer.json
{ "require": { "erwan-haquet/mailerlite-bundle": "dev-master" } }
Then update your composer
composer install erwan-haquet/mailerlite-bundle
Composer will install the bundle.
2) Enable the bundle
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new MailerLiteBundle\MailerLiteBundle(), ); }
3) Configure it
# app/config/config.yml mailer_lite: api_key: #Your MailerLite API key default_list: #Your default list id
Documentation
- MailerLiteBundle Doc // under construction
Contributing
Any kind of comment, suggest.. are welcome. Feel free to Pull Request :)