skrskr / contact
This package send mail to admin and save contact us message
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/skrskr/contact
This package is auto-updated.
Last update: 2025-10-16 02:56:40 UTC
README
This package send mail to admin and save contact us message
Installation
Require via composer
$ composer require skrskr/contact
if laravel version < laravel 5.5
Add ContactServiceProvider to app.php
In config/app.php file
'providers' => [ ... SkrSkr\Contact\ContactServiceProvider::class, ... ];
Runing
Migrate contact model migrations
$ php artisan migrate
Run development server
$ php artisan serve
Hit contact form url
http://localhost:8000/contact
Customization
Run this command to generate the contact.php configuration file, vendor/contact folder for views
$ php artisan vendor:publish
Change admin mail in contact.php
"send_mail_to" => "admin@exmaple.com",
Customize contact us form in vendor/contact/contact.blade.php blade file.
Customize contact us mail style in vendor/contact/contact/email.blade.php blade file.
