PHPackages                             anwar7736/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. anwar7736/contact

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

anwar7736/contact
=================

Send email to the website admin and its store to the database table

014PHP

Since Jun 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/anwar7736/laravel-simple-contact-package)[ Packagist](https://packagist.org/packages/anwar7736/contact)[ RSS](/packages/anwar7736-contact/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

What is this package?
---------------------

[](#what-is-this-package)

This is a contact us package. When any visitor visit your website (Contact us page) and they can send a message to you. This package automatically send a mail to you and it's store to your database table.

Installation
------------

[](#installation)

```
composer require anwar7736/contact
```

---

Configuration
-------------

[](#configuration)

1. Open **config/app.php** and add this line to your Service Providers Array.

```
Anwar\Contact\ContactServiceProvider::class
```

2. Optional configuration file (useful if you plan to have full control)

```
php artisan vendor:publish --provider="Anwar\Contact\ContactServiceProvider"
```

3. Check your database connection and run this command

```
php artisan migrate
```

4. Open your **.env** file and check your mail configuration

```
MAIL_MAILER=smtp
MAIL_HOST=sandbox.smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=username
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=example@gmail.com
MAIL_FROM_NAME="${APP_NAME}"
```

---

Basic usage
-----------

[](#basic-usage)

1. No need to add this route in your  **web.php**  file you can only use this route from your controller or your blade file.

```
Route::get('/contact', 'index')->name('contact');
```

---

 Thank You
-----------

[](#-thank-you-)

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

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/5dd046e863b001e21af1cb792b2bcbe73604ae0448d8f2c1c9414e6a30b7cc2e?d=identicon)[anwar7736](/maintainers/anwar7736)

---

Top Contributors

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

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/anwar7736-contact/health.svg)](https://phpackages.com/packages/anwar7736-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.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/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)
