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

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

scode/contact
=============

this will send email to admin and save contact query in database

1.1.0(2y ago)09MITPHP

Since Aug 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/soheyla-karimzade/contactLaravelPackage)[ Packagist](https://packagist.org/packages/scode/contact)[ RSS](/packages/scode-contact/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

Contact Laravel Package
=======================

[](#contact-laravel-package)

this will send email to admin and save contact query in database
----------------------------------------------------------------

[](#this-will-send-email-to-admin-and-save-contact-query-in-database)

Install
-------

[](#install)

```
composer require scode/contact

```

set config database in .env file for example:
---------------------------------------------

[](#set-config-database-in-env-file-for-example)

```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravelpackage
DB_USERNAME=root
DB_PASSWORD=your database password

```

\#execute migration : php artisan migrate

copy publishes files from Contact Laravel Package to your project:
------------------------------------------------------------------

[](#copy-publishes-files-from--contact-laravel-package-to-your-project)

```
php artisan vendor:publish

```

#### this commnad copy contact.php in config directory

[](#this-commnad-copy-contactphp-in-config-directory)

##### get config/contact.php file and edit `send_email_to` value with The email address you want to send an email to :

[](#get-configcontactphp-file-and-edit-send_email_to--value-with-the-email-address-you-want-to-send-an-email-to-)

set MAIL config in .env file gmail smtp example :
-------------------------------------------------

[](#set-mail-config-in-env-file-gmail-smtp-example-)

```
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=soheyla.karimzade@gmail.com
MAIL_PASSWORD= your gmail App passwords
MAIL_ENCRYPTION=ssl

```

run laravel server :
--------------------

[](#run-laravel-server-)

```
php artisan serve

```

get browser in laravel url project and get `/contact` route for example :
-------------------------------------------------------------------------

[](#get-browser-in-laravel-url-project-and-get-contact-route-for-example-)

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

```

#### and fill the contact form and submit , will be sent an email to email address and is created one row on contact table in database .

[](#and-fill-the-contact-form-and-submit--will-be-sent-an-email-to-email-address-and-is-created-one-row-on-contact-table-in-database-)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1066d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42b3c02f5062ebc778975e29193e8a8288accf976656bca41045433d6621f757?d=identicon)[soheyla-karimzade](/maintainers/soheyla-karimzade)

---

Top Contributors

[![soheyla-karimzade](https://avatars.githubusercontent.com/u/26362318?v=4)](https://github.com/soheyla-karimzade "soheyla-karimzade (6 commits)")

### Embed Badge

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

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

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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