jeffer8a/laravel-mailchimp-newsletter

Simple mailchimp newsletter subscription box for Laravel 5.* with Bootstrap 3
7
Install
composer require jeffer8a/laravel-mailchimp-newsletter
Latest Version:0.1.0
License:MIT
Last Updated:Oct 11, 2016
Links: GitHub  ·  Packagist
Maintainer: jeffer8a

tropicalapps/laravel-mailchimp-newsletter

Simple laravel 5.* mailchimp newsletter subscription box.

This package is based in the "https://github.com/skovmand/mailchimp-laravel#mand/mailchimp-laravel" package.

Install

"require": {
    "tropicalapps/laravel-mailchimp-newsletter": "0.1.*",
}

Provider

Go to config/app.php and edit the providers array

'providers' => [
	TropicalApps\Mailchimp\MailchimpServiceProvider::class,
]

Publish files

php artisan vendor:publish --provider="TropicalApps\Mailchimp\MailchimpServiceProvider" --tag=all

config config/mailchimp.php views resources/views/newsletter request Http/Requests/NewsletterRequest.php controller Http/Controllers/NewsletterController.php

Config

MAILCHIMP_API_KEY=
MAILCHIMP_LIST_ID=

Routing

Add the follow to your routes file

Route::post('subscribe', [
    'as'    => 'subscribe',
    'uses'  => 'NewsletterController@subscribe'
]);

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

384,821,166 4,658