PHPackages                             lakm/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lakm/contact

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lakm/contact
============

A Laravel package provide full Contact-Us functionality for your website with full front-end scaffolding

1.0.0(4y ago)013MITPHPPHP ^7.4|^8.0

Since Oct 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Lakshan-Madushanka/contact-us)[ Packagist](https://packagist.org/packages/lakm/contact)[ RSS](/packages/lakm-contact/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Full Contact-Us functionality for your website
==============================================

[](#full-contact-us-functionality-for-your-website)

[![GitHub release (latest by date)](https://camo.githubusercontent.com/cac1c8bd69b750bc1fdaafe20daed0f25f10297f132af25df58d13394b94dccf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f4c616b7368616e2d4d6164757368616e6b612f636f6e746163742d7573)](https://camo.githubusercontent.com/cac1c8bd69b750bc1fdaafe20daed0f25f10297f132af25df58d13394b94dccf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f4c616b7368616e2d4d6164757368616e6b612f636f6e746163742d7573)[![GitHub issues](https://camo.githubusercontent.com/2f2204f9ef66bcf3e284b1802609cf0b95afe7183170fac2de1e9a1356102fbf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f4c616b7368616e2d4d6164757368616e6b612f636f6e746163742d7573)](https://github.com/Lakshan-Madushanka/contact-us/issues)[![GitHub forks](https://camo.githubusercontent.com/6a1851bff644b16970770072ff2a85dc4e7322efbdf89553ce6acca514324fbb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f4c616b7368616e2d4d6164757368616e6b612f636f6e746163742d7573)](https://github.com/Lakshan-Madushanka/contact-us/network)[![GitHub license](https://camo.githubusercontent.com/e246e897aad5706df29403e9d4ac135d6e68595f58b1ebb49a0d57f35ab9441c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4c616b7368616e2d4d6164757368616e6b612f636f6e746163742d7573)](https://github.com/Lakshan-Madushanka/contact-us/blob/main/LICENSE.md)[![Packagist Downloads](https://camo.githubusercontent.com/06182f4de409e6fae0542799916d90d8cf86dbf0d2f765570483560b659e909f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c616b6d2f636f6e74616374)](https://camo.githubusercontent.com/06182f4de409e6fae0542799916d90d8cf86dbf0d2f765570483560b659e909f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c616b6d2f636f6e74616374)

This package provide full contact us functionality for your web site with modern front-end scaffolding. you have freedom to modify these front-end templates as you wish.

Work flow
---------

[](#work-flow)

1). User make a inquery using contact-us page.
2). Successfully uploaded inquery is saved in db and forwaded to admins using mail settings.
3). Admin make a reply.
4). Successfully uploaded reply is saved in db and forwared to the user and admins.

Screen shots
------------

[](#screen-shots)

[![screen1](https://user-images.githubusercontent.com/47297673/135661945-00c7508a-bea4-45c7-a35a-0cd4559ae9f6.PNG)](https://user-images.githubusercontent.com/47297673/135661945-00c7508a-bea4-45c7-a35a-0cd4559ae9f6.PNG)[![screen2](https://user-images.githubusercontent.com/47297673/135661953-e2fe01a1-44a8-4024-8b7c-d828d8f10264.PNG)](https://user-images.githubusercontent.com/47297673/135661953-e2fe01a1-44a8-4024-8b7c-d828d8f10264.PNG)[![screen3](https://user-images.githubusercontent.com/47297673/135661956-75733ce2-bba2-4415-823c-a3c7c9c994e3.PNG)](https://user-images.githubusercontent.com/47297673/135661956-75733ce2-bba2-4415-823c-a3c7c9c994e3.PNG)[![screen4](https://user-images.githubusercontent.com/47297673/135661962-254a07f6-78bb-499b-9527-f04b760e1591.PNG)](https://user-images.githubusercontent.com/47297673/135661962-254a07f6-78bb-499b-9527-f04b760e1591.PNG)[![screen5](https://user-images.githubusercontent.com/47297673/135661965-a18e2617-17b8-4be4-a71d-b67b1ea7a19c.PNG)](https://user-images.githubusercontent.com/47297673/135661965-a18e2617-17b8-4be4-a71d-b67b1ea7a19c.PNG)

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

[](#installation)

You can install the package via composer:

```
composer lakm/contact
```

Then run this artisan command: This will generate all scaffolding

```
php artisan lakm:InitContactUs
```

Routes must be register in one of the service provider class(AppServiceProvider)

```
ContactUs::routes();
```

This is the contents of the published config file : This allow you to set configurations according to your expectations.

```
return [
    // include role names to send the email
    'roles' => ['admin', 'super_admin'],

    // you can change email contain column below
    'email_column' => 'email',

    // you can change name contain column below
    'name_column' => 'name',

    /*
     include relationship name
    to obtain roles if roles are
    in seperate table other than user
     */

    'relationship' => 'roles',

    // you can change role table column name below

    'role_column_name' => 'name',

    /* define list of emails if
    need to send particular users
     */

    'users' => [
            //'exampl@text.com' => 'name'
        ]
];
```

Change mail template
--------------------

[](#change-mail-template)

```
php artisan vendor:publish --tag laravel-mail
```

Usage
-----

[](#usage)

Simply set the routes : You can get the route list using below command

```
php artisan route:list
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please acknowledge if you found any vulnerability using this email :

Credits
-------

[](#credits)

- lakshan()
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

1689d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88cfad5d6377be18e9544dc9796e4dd2979faeff1984ad105f83bc979ac25c0f?d=identicon)[Lakshan-Madushanka](/maintainers/Lakshan-Madushanka)

---

Top Contributors

[![Lakshan-Madushanka](https://avatars.githubusercontent.com/u/47297673?v=4)](https://github.com/Lakshan-Madushanka "Lakshan-Madushanka (3 commits)")

### Embed Badge

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

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

###  Alternatives

[kreativekorp/barcode

Generate barcodes from a single PHP file.

2839.9k](/packages/kreativekorp-barcode)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27659.1k4](/packages/nosto-module-nostotagging)

PHPackages © 2026

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