sahil / first
This is my first package.
2.2
2019-01-30 12:08 UTC
README
This package will provide you a contact us form which save all information in database table.
Installation
Install using following command.
composer require sahil/first
Configurations
Then open config/app/php
and add following class to providers array.
Sahil\First\FirstServiceProvider::class,
After that, Install migration using following commands in terminal.
php artisan migrate
Usage
Try following path for contact us form.
www.yourdomain.com/pkg/contact
For getting list of all message. Use following in your controller
use Sahil\First\ContactHelper;
After that, Try following code in your function.
$contact_helper = new ContactHelper(); $msg_list = $contact_helper->GetAllMessages();