PHPackages                             dipen/contact - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. dipen/contact

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

dipen/contact
=============

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

03Blade

Since Jun 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/RanpuraDipen/laravel-contact-package)[ Packagist](https://packagist.org/packages/dipen/contact)[ RSS](/packages/dipen-contact/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Contact Us Form Laravel Package
===============================

[](#contact-us-form-laravel-package)

[![Issuses](https://camo.githubusercontent.com/bcf73b6bf9dd9522a3e24d53e26837238d0d4493374a19f5fe90046b4668916c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f52616e70757261446970656e2f6c61726176656c2d636f6e746163742d7061636b616765)](https://camo.githubusercontent.com/bcf73b6bf9dd9522a3e24d53e26837238d0d4493374a19f5fe90046b4668916c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f52616e70757261446970656e2f6c61726176656c2d636f6e746163742d7061636b616765)[![Forks](https://camo.githubusercontent.com/0af552204f7970c874422695643f2576e39ca916ce5fc519ad31ca0304488bb6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f52616e70757261446970656e2f6c61726176656c2d636f6e746163742d7061636b616765)](https://camo.githubusercontent.com/0af552204f7970c874422695643f2576e39ca916ce5fc519ad31ca0304488bb6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f52616e70757261446970656e2f6c61726176656c2d636f6e746163742d7061636b616765)[![Stars](https://camo.githubusercontent.com/17b864be196983047245f66d9e154d73c59d26da480c2f7638b11faf59c51254/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f52616e70757261446970656e2f6c61726176656c2d636f6e746163742d7061636b616765)](https://camo.githubusercontent.com/17b864be196983047245f66d9e154d73c59d26da480c2f7638b11faf59c51254/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f52616e70757261446970656e2f6c61726176656c2d636f6e746163742d7061636b616765)

**For Laravel 5.7**

Inrtoduction
------------

[](#inrtoduction)

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

Getting Started
---------------

[](#getting-started)

To get started add the following package to your `composer.json` file using this command.

```
composer require dipen/contact
```

Configuring
-----------

[](#configuring)

When composer installs Laravel Contact library successfully,

#### First Add Database credentials to the `.env` file

[](#first-add-database-credentials-to-the-env-file)

```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=Database Name
DB_USERNAME=Database Username
DB_PASSWORD=Database Password
```

#### In the next step run following command.

[](#in-the-next-step-run-following-command)

```
php artisan migrate
```

#### Next Add the email credentials to the `.env` file

[](#next-add-the-email-credentials-to-the-env-file)

```
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME='your email id'
MAIL_PASSWORD='your email password'
MAIL_ENCRYPTION='tls'
```

Usage
-----

[](#usage)

#### Start Local Server

[](#start-local-server)

```
php artisan serve
```

### Enjoy :)

[](#enjoy-)

```
http://localhost:8000/contact
```

#### That's all folks!

[](#thats-all-folks)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed3ef7b57895c9b0c5146824aca44cb0eb5615c4bfe7ad2d8cd6cf8e209e44f0?d=identicon)[RanpuraDipen](/maintainers/RanpuraDipen)

---

Top Contributors

[![RanpuraDipen](https://avatars.githubusercontent.com/u/57746055?v=4)](https://github.com/RanpuraDipen "RanpuraDipen (5 commits)")

### Embed Badge

![Health badge](/badges/dipen-contact/health.svg)

```
[![Health](https://phpackages.com/badges/dipen-contact/health.svg)](https://phpackages.com/packages/dipen-contact)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M228](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M52](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
