2017 © Pedro Peláez
 

library contact

Contact Is A Contact Form Backend For Laravel 5

image

graham-campbell/contact

Contact Is A Contact Form Backend For Laravel 5

  • Monday, August 10, 2015
  • by graham-campbell
  • Repository
  • 2 Watchers
  • 26 Stars
  • 16,192 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 7 Versions
  • 1 % Grown

The README.md

Laravel Contact

Laravel Contact was created by, and is maintained by Graham Campbell, and provides a contact form backend for Laravel 5. It utilises a few of my packages including Laravel Throttle and Laravel Binput. Feel free to check out the releases, license, and contribution guidelines., (*1)

Laravel Contact, (*2)

Build Status Coverage Status Quality Score Software License Latest Version , (*3)

Installation

PHP 5.5+ or HHVM 3.6+, and Composer are required., (*4)

To get the latest version of Laravel Contact, simply add the following line to the require block of your composer.json file:, (*5)

"graham-campbell/contact": "~1.0"

You'll then need to run composer install or composer update to download it and have the autoloader updated., (*6)

You will need to register a few service providers before you attempt to load the Laravel Contact service provider. Open up config/app.php and add the following to the providers key., (*7)

  • 'GrahamCampbell\Security\SecurityServiceProvider'
  • 'GrahamCampbell\Binput\BinputServiceProvider'
  • 'GrahamCampbell\Throttle\ThrottleServiceProvider'

Once Laravel Contact is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key., (*8)

  • 'GrahamCampbell\Contact\ContactServiceProvider'

Configuration

Laravel Contact supports optional configuration., (*9)

To get started, you'll need to publish all vendor assets:, (*10)

$ php artisan vendor:publish

This will create a config/contact.php file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases., (*11)

There are a few config options:, (*12)

Path To The Form

This option ('path') defines the path to the contact form. This is the page where your contact form should be. The default value for this setting is 'pages/contact'., (*13)

Contact Form Email

This option ('email') defines the email address to send contact form messages to. It can be a single address, or an array of email addresses. The default value for this setting is 'admin@example.com'., (*14)

Email Layout

This option ('layout') defines the layout to extend when building email views. The default value for this setting is 'layouts.email'., (*15)

Additional Configuration

You will need to add a 'name' key to your app config to set the application name., (*16)

Usage

Laravel Contact is designed to work with Bootstrap CMS. In order for it to work in any Laravel application, you must ensure that you know how to use my Laravel Core package as configuration and knowledge of the app:install and app:update commands is required., (*17)

Laravel Contact provides you with the backend functionality (and email views) to create a comment form. You will need to write your own contact form front end with this plugin, although an example contact form is included ('contact.form'). Laravel Contact will register the route contact.post which will accept POST requests to the path contact., (*18)

License

Laravel Contact is licensed under The MIT License (MIT)., (*19)

The Versions

10/08 2015

dev-master

9999999-dev

Contact Is A Contact Form Backend For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework form graham campbell grahamcampbell contact contact form laravel contact laravel-contact

15/03 2015

v0.3.0-alpha

0.3.0.0-alpha

Contact Is A Contact Form Backend For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework form graham campbell grahamcampbell contact contact form laravel contact laravel-contact

15/03 2015

0.2.x-dev

0.2.9999999.9999999-dev

Contact Is A Contact Form Backend For Laravel 4.1/4.2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework form graham campbell grahamcampbell contact contact form laravel contact laravel-contact

15/03 2015

v0.2.2-alpha

0.2.2.0-alpha

Contact Is A Contact Form Backend For Laravel 4.1/4.2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel framework form graham campbell grahamcampbell contact contact form laravel contact laravel-contact

24/10 2014

v0.2.1-alpha

0.2.1.0-alpha

Contact Is A Contact Form Backend For Laravel 4.1/4.2

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework form graham campbell grahamcampbell contact contact form laravel contact laravel-contact

12/08 2014

v0.2.0-alpha

0.2.0.0-alpha

Contact Is A Contact Form Backend For Laravel 4.1+

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework form graham campbell grahamcampbell contact contact form laravel contact laravel-contact

21/04 2014

v0.1.0-alpha

0.1.0.0-alpha

Contact Is A Contact Form Backend For Laravel 4.1

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel framework form graham campbell grahamcampbell contact contact form laravel contact laravel-contact