sahil / first
This is my first package.
Installs: 58
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Type:laravel
pkg:composer/sahil/first
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();