https://github.com/anis-marrouchi/fuelphp-mailchimp
We needed mailchimp for twittstrap.com, so i have decided to create it and share it.
https://github.com/anis-marrouchi/fuelphp-mailchimp
Last synced: 3 months ago
JSON representation
We needed mailchimp for twittstrap.com, so i have decided to create it and share it.
- Host: GitHub
- URL: https://github.com/anis-marrouchi/fuelphp-mailchimp
- Owner: anis-marrouchi
- License: apache-2.0
- Created: 2013-10-28T17:52:09.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-08-19T10:33:41.000Z (about 7 years ago)
- Last Synced: 2024-05-02T04:39:57.175Z (over 1 year ago)
- Language: PHP
- Homepage: http://noqta.tn
- Size: 258 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
fuel-mailchimp
==============Overview
=============================================
We needed mailchimp for tweetstrap.com (not available) to handle our newsletter related stuff, so i have decided to create this fuel package and share it on github.
The project will be based on a PHP 5.2+ API client for [v2 of the MailChimp API](http://apidocs.mailchimp.com/api/2.0/).
Installing the package
==================================
**The fuel way**- run php oil package install fuelphp-mailchimp (you will need to add my git to your sources in your package cofiguration file: make a copy of the package configuration file located @ `\home\fuelphp\fuel\core\config\package.php` into your `\home\fuelphp\fuel\app\config\package.php`, then add `github.com/anis-marrouchi` to sources
- Rename fuelphp-mailchimp folder located @ `fuel/packages/` to mailchimp**The github way**
1. Clone (`git clone git://github.com/anis-marrouchi/fuelphp-mailchimp`) / [download](https://github.com/anis-marrouchi/fuelphp-mailchimp/archive/master.zip)
2. Rename folder to mailchimp and place in `fuel/packages/`Configuration
==================================
1. Edit `fuel/packages/mailchimp/config/mailchimp.php` by adding your Mailchimp api
2. Add 'mailchimp' to the `'always_load/packages'` array in `app/config/config.php`. You can also call Fuel::add_package('mailchimp') whenever you need it).
3. Have fun :)Getting started
=========================A basic example: Retrieving all of the lists defined for your user account
> `function action_welcome()
> {
> $mailchimp = new Mailchimp();
> $lists = $mailchimp->lists->getList();
> }`More examples
=========================
Read and follow the api documentation located in the `docs` folder.Support us
=============================================
*Support us by giving a **Star** to our project: **[twittstrap](https://github.com/twittstrap/twittstrap)**.*A special thanks to the guys at [fuelphp](http://fuelphp.com/contribute/donate).