jamessingizi / contact
contact form for sending email to admin and saving contact form details in database
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Language:Blade
README
Contact is a simple and extensible contact form package for laravel projects.
- Simple and easy to use
- Highly configurable
- Extensible and customizable
- Uses TailwindCSS for views
- Saves contact form to database and sends an email to specified email address
Contact
The recommended way to install Contact is through Composer.
composer require jamessingizi/contact
After installation, run
php artisan migrate
to create required database tables.
To publish configs, run
php artisan vendor:publish
The above command will publish a config file named contact.php in the config file of your project. Change the 'send_email_to' value to the email you want to send emails to. You can also publish the views in order to customize the look and feel of the contact page. For sending emails you will need to define email settings in the .env file of your application
The package uses laravel queues and will automatically queue emails if a queue is defined.
Once installed the contact form will be available at the '/contact' route of your project