despark/igni-contact-us

Igni CMS Contact Us Package
17
Install
composer require despark/igni-contact-us
Latest Version:v1.1
PHP:>=5.6.4
License:MIT
Last Updated:Jan 29, 2018
Links: GitHub  ·  Packagist
Maintainer: despark

Despark's igniCMS Contact Us Module

About

This package extends despark/igni-core by adding a fully functional Contacts Page consisting of:

  1. DB tables for contact details and messages.
  2. Resources
  3. Routes
  4. Config
  5. Contact form
  6. Email notifications
  7. Helpers

Installation

Require using Composer

composer require despark/igni-contact-us

Add the service provider to config/app.php

$providers = [
    ...
    Despark\Cms\ContactUs\Providers\IgniContactUsServiceProvider::class,
]

Run the artisan install command

php artisan igni:make:contacts

A new Contacts Management sidebar will be added to the CMS page

Take a quick look at ignicontacts config file

return [
    'google_api_key' => env('GOOGLE_MAPS_API_KEY', null),
    // Send an email to the first email address in contacts table when a new message is submitted. true||false||null
    'recieve_email_notifications' => true,
    'mail_receiver_name' => 'Example',
    'mail_subject' => 'New message was received',
    'path_to_email_view' => 'emails.newMessage',
];

We made some helpers so that you can quickly visualise the main sections of a standard Contacts page and build further more

igniContactForm()

Outputs a contact form with simpl HTML structure

igniContactDetails()

Outputs all the cotact details using simple HTML structure

igniContactMap()

Outputs Google Maps JS map focused on the address you've setup in the contacts

igniFullContactPage()

Output a fully fledged Contact Us page with all contact details, contact form and map

Related Packages

kodicms/core

The official KodiCMS Core module

709 0
despark/ignicms

Administrative interface builder for Laravel 5.1

2,471 21
bytpher/cms-laravel-angular-material

CMS with Laravel + Angular Material starter project

251 12
despark/laravel-social-feeder

Social feeder for laravel. With this you can get feed from facebook page, twitte...

134 13
mikkokut/prismic-laravel

Integrates the Prismic PHP development kit with Laravel.

1,416 1