selfreliance/subscribeform

Subscribe Form for Laravel

Downloads

40

Stars

0

Version

1.0.16

Laravel 5 subscribeform

subscribeform - a package serves as a subscription to notifications

How to install

Install via composer

composer require selfreliance/subscribeform

Config, migrations and javascript

php artisan vendor:publish --provider="Selfreliance\subscribeform\SubscribeFormServiceProvider" --force

Connect javascript

<script src="{{ asset('js/core.js') }}"></script>

And do not forget about

php artisan migrate 

Functions

use Selfreliance\subscribeform\SubscribeFormController;

SubscribeFormController::subscribed('[email protected]'); // check if subscribed return true or false

Usage

	Transimt data to url (/subscribe or from config subscribeform) - method POST:
		- email (required)
selfrelianceme

Author

selfrelianceme