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

ActiveLibrary

robertgarrigos/contact
======================

Contact form laravel package based on bulma and a captcha

1.0.0(6y ago)19MITPHP

Since Jul 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/robertgarrigos/contact)[ Packagist](https://packagist.org/packages/robertgarrigos/contact)[ Docs](https://github.com/robertgarrigos/contact)[ RSS](/packages/robertgarrigos-contact/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Contact form laravel package
============================

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/027d0b12a58a7ad8365a41de10e15005745bb181e35e3a69eb257b634bb14972/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f626572746761727269676f732f636f6e746163742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robertgarrigos/contact)[![Build Status](https://camo.githubusercontent.com/45a0f9dfe817c16032b83d94c1a2c4dc6f525eb0acac486a7bbd49059806647d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f726f626572746761727269676f732f636f6e746163742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/robertgarrigos/contact)[![Quality Score](https://camo.githubusercontent.com/403bb8a941eb00c2395f0105b7657cc77d2e595e6ccb873260262a79f4f05548/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f726f626572746761727269676f732f636f6e746163742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/robertgarrigos/contact)[![Total Downloads](https://camo.githubusercontent.com/16415c6390fbbb30484a7506d7f31f593169195f16999df4afdbc78ce22358f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f626572746761727269676f732f636f6e746163742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robertgarrigos/contact)[![StyleCI](https://camo.githubusercontent.com/480afef32b341171c3e9207c8e7395a97b40b6f43544f9f335ca50a34bdcb588/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3139363832323835332f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/196822853)

This is a laravel package to provide a contact form for your laravel site. The form uses bulma css (), a captcha (), markdown to form the email, is language aware and saves each form submition details in the database.

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

[](#installation)

1. [Install the package via composer](#install-the-package-via-composer).
2. [Publish, at least, de migration file](#publish-the-migration-file).
3. [Run the artisan migration command](#run-the-artisan-migration-command).

### Install the package via composer

[](#install-the-package-via-composer)

```
composer require robertgarrigos/contact
```

The package will register itself automatically.

### Publish the migration file

[](#publish-the-migration-file)

You can either publish all the package configurations files or just the migration file.

#### Publish all the configuration files using:

[](#publish-all-the-configuration-files-using)

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

```

This will publish:

- a config file in `config/contact.php` where you can set the email form address.
- some view files in `resources/views/vendor/contact` whith which you can control how to show the contact form and the email sent using markdown.
- a lang file `contact.php` in `resources/lang` for English an Catalan.
- a migration file `create_contacts_table` in `database/migrations`.

If you want to publish just some of these files you can run `php artisan vendor:publish` and choose the corresponding tag for config, lang, views or migration. You might need to tun this command with `--force` if you need to overright any existing files.

#### Publish just the migration file using.

[](#publish-just-the-migration-file-using)

```
php artisan vendor:publish --provider=Robertgarrigos\\Contact\\ContactServiceProvider --tag=contact-migration

```

**You must at least publish de migration file before running the artisan migration command**

### Run the artisan migration command.

[](#run-the-artisan-migration-command)

`php artisan migrate`

Usage
-----

[](#usage)

Point your browser at `yoursite.com/contact`.

Every time a user submits a contact form, you will receive an email to the address set on `config/contact.php`. Of course, you need to set the smtp credentials on your .env file.

Also, every submission will add an entry to the database. There is no backend to access that data for now.

Tests
-----

[](#tests)

Still struggling with the orchestra test bench package. I hope I'll be able to add some tests soon.

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

TODO
----

[](#todo)

- Add some tests.
- Add a backend to access contact data in the database.

Credits
-------

[](#credits)

- [Robert Garrigos](https://github.com/robertgarrigos)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.8% 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

2495d ago

### Community

Maintainers

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

---

Top Contributors

[![robertgarrigos](https://avatars.githubusercontent.com/u/105581?v=4)](https://github.com/robertgarrigos "robertgarrigos (30 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

bulma-csscaptchalaravelcontactrobertgarrigos

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[karser/karser-recaptcha3-bundle

Google ReCAPTCHA v3 for Symfony

1862.4M7](/packages/karser-karser-recaptcha3-bundle)[jeromeschneider/baikal

Baïkal is a lightweight CalDAV + CardDAV server based on PHP, SQLite or MySQL, and SabreDAV

3.1k4.6k](/packages/jeromeschneider-baikal)[craftcms/contact-form

Add a simple contact form to your Craft CMS site

295427.3k17](/packages/craftcms-contact-form)[putyourlightson/craft-campaign

Send and manage email campaigns, contacts and mailing lists.

6435.0k1](/packages/putyourlightson-craft-campaign)[astrotomic/laravel-vcard

A fluent builder class for vCard files.

5330.0k](/packages/astrotomic-laravel-vcard)[craftcms/contact-form-honeypot

Add a honeypot captcha to your Craft CMS contact form

25129.0k3](/packages/craftcms-contact-form-honeypot)

PHPackages © 2026

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