This will send email to admin and save contact query in database
If you want to register it yourself, add the ServiceProvider in config/app.php
:
'providers' => [
Heinthuya\Contact\ContactServiceProvider::class,
]
To publish the config, run the vendor publish command:
php artisan vendor:publish
This will create a new config file named config/contact.php
php artisan migrate
contact form url - localhost:8000/contact