larasoft/enquire

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

dev-master 2017-03-05 11:16 UTC

This package is not auto-updated.

Last update: 2017-08-01 19:26:58 UTC


README

Installation

  • Install package composer require larasoft/enquire <version>
  • Add service provider to provider array
    Larasoft\Enquire\EnquireServiceProvider',
    
  • Include form partial in any view you want to be able to display forms
    @include('enquire::partials.form')
    

Usage

The default front end route doesn't support newsletter signup functionality due to not being able to anticipate implementation. There is a MailChimpFormController which contains a basic MailChimp signup implementation.

To use this just override the package's frontend route with:

Route::post('process-enquiry', [
	'as' => 'process-enquiry',
	'uses' => 'MailChimpFormController@processSubmission'
]);