masud99rana/contact

This will send email to admin and save contact query in the database.

v1.0.1 2020-01-10 03:48 UTC

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.

Made with love by Masud Rana status

Logo My LinkedIn Profile Gmail

Table of Contents

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:

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

  1. Run the command command
    composer require masud99rana/contact

  2. 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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/newFeature)
  3. Commit your Changes (git commit -m 'Add some newFeature')
  4. Push to the Branch (git push origin feature/newFeature)
  5. 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

My LinkedIn Profile Gmail

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! 💖