masud99rana / contact
This will send email to admin and save contact query in the database.
This package is auto-updated.
Last update: 2024-05-10 14:35:22 UTC
README
Note: This repository contains the core code of a Laravel Package "Contact" that helps to send email to admin and save contact query in database . It is one of my Package Development projects which i have made to practice Laravel's Package Development.
Table of Contents
- About the Project
- Getting Started
- Usage
- Roadmap
- Contributing
- Resources
- License
- Contact
- Acknowledgements
- Heartiest Thanks
About The Project
Having a Contact page can seriously reduce frustration, which is always a good thing. Using a contact form is even better since users will be able to get in touch from within website. That way, when they're done reaching out, they can continue to peruse the site. Contact
is a Laravel Framework's Package which helps to store the user query in the database and inform the admin via mail. In this project, I have practiced how to develop a real-world, Laravel Package.
Goal:
- Build a practical, real-world Laravel Package.
- Create a user friendly Contact Us feature with Mail system,
- Practice Composer's Core Functionality, like upload package on Packagist etc, .
- Practice Composer package Versioning.
Of course, I have achieved most of the goals in this project. Let's Cheers. 😄
Here, the package is stored for future reference. It may also help who wants to build or needs a Laravel Package which sends email to admin and saves contact query in database .
Note: I will add more functionality following Semantic Versioning soon
Built With
The major technologies that i have used to build this project. Here are:
- Laravel v5.8 & v6 : The PHP Framework for Testing the package.
Features
- Send user query to Admin
- Store the query in the database.
- Developer can easily publish Config and View file.
- Developer can easiy handle admin's email of this package via dedicated Config file.
- Developer can easily design the view file for contact us page.
And many more. Explore them by following "Getting Started" section.
Getting Started
To use this package and running follow these simple example steps.
Prerequisites
Basic understanding of "How to install laravel package" and Composer.
*Must need configured mail server
Installation
-
Run the command command
composer require masud99rana/contact
-
Publish the package Config and View file
php artisan vendor:publish --tag=contact-publish
You will now find the Config file located in /config/contact.php
You will now find the View file located in /resources/views/vendor/contact
That's Cool. Now, you are ready to go.
If you face any problem to installation this package feel free to inform me.
Usage
Note: I will update this section soon.
Roadmap
Note: I will update this section soon.
Contributing
Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/newFeature
) - Commit your Changes (
git commit -m 'Add some newFeature'
) - Push to the Branch (
git push origin feature/newFeature
) - Open a Pull Request
Resources
License
This is an open-source package. You can use or distribute it any legal purpose.
Contact
Md. Masud Rana
Package Link: https://packagist.org/packages/masud99rana/contact
Acknowledgements
Note: I will update this section soon.
Heartiest Thanks
Note: I will update this section soon.
Academic Instructors
Note: I will update this section soon.
Online Instructors
Note: I will update this section soon.
Project Instructor
Note: I will update this section soon.
You
- Thank you so much! 💖