New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

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
Laravel:5
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...

651,963,193 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

518,004,183 7,444
laravel/serializable-closure

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

435,097,283 607
nunomaduro/collision

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

407,699,310 4,663

Version History

Version Released Laravel License
0.1.0 5.0 - 5.3 MIT