Download the PHP package sanatorium/newsletter without Composer
On this page you can find all versions of the php package sanatorium/newsletter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sanatorium/newsletter
More information about sanatorium/newsletter
Files in sanatorium/newsletter
Download sanatorium/newsletter
More information about sanatorium/newsletter
Files in sanatorium/newsletter
Vendor sanatorium
Package newsletter
Short Description Newsletter extension for Cartalyst Platform
License
Package newsletter
Short Description Newsletter extension for Cartalyst Platform
License
Please rate this library. Is it a good library?
Informations about the package newsletter
sanatorium/newsletter
Newsletter extension for Cartalyst Platform
Documentation
Example
The method on "sanatorium.newsletter.subscribe" route takes following parameters:
Therefore basic subscription form might look like this:
@if ( Cookie::get('has_newsletter') )
<p class="alert alert-success">
{{ trans('sanatorium/newsletter::messages.subscribed') }}
</p>
@else
<form method="POST" action="{{ route('sanatorium.newsletter.subscribe') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="email" name="email" class="form-control" placeholder="{{ trans('sanatorium/newsletter::common.email.placeholder') }}">
<button type="submit" class="btn btn-success">
{{ trans('sanatorium/newsletter::common.actions.subscribe') }}
</button>
</form>
@endif
TODO
- cron/button action to transfer contacts to mailchimp
- names to emails
Changelog
1.0.5 Added readme and example
Support
Support not available.
All versions of newsletter with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
cartalyst/composer-installers Version 1.2.*
platform/foundation Version >=2.0 <5.0
cartalyst/composer-installers Version 1.2.*
platform/foundation Version >=2.0 <5.0
The package sanatorium/newsletter contains the following files
Loading the files please wait ...