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

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

taskuniverse/contact-form
=========================

Simple contact template via smtp for laravel

1.0.3(6y ago)117MITHTMLPHP &gt;=7.2.0

Since Jun 14Pushed 6y agoCompare

[ Source](https://github.com/NickSealer/contact-form)[ Packagist](https://packagist.org/packages/taskuniverse/contact-form)[ Docs](https://github.com/NickSealer/contact-form.git)[ RSS](/packages/taskuniverse-contact-form/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Contact form for Laravel
------------------------

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

This composer package offers a functional contact form template via smtp.

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

[](#installation)

```
composer require taskuniverse/contact-form
composer update
composer dump-autoload
Config .env file
php artisan config:clear
```

Config .env file
----------------

[](#config-env-file)

**For gmail accounts**

Enable in your gmail account the access to third party apps.

```
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=YOUR-EMAIL
MAIL_FROM_NAME=EMAIL-NAME
MAIL_PASSWORD=YOUR-PASSWORD-EMAIL
MAIL_ENCRYPTION=tls
```

**For Outlook accounts**

Enviroment var 'MAIL\_FROM\_NAME' is optional.

```
MAIL_DRIVER=smtp
MAIL_HOST=smtp.office365.com
MAIL_PORT=587
MAIL_FROM_ADDRESS=YOUR-OUTLOOK-EMAIL
MAIL_USERNAME=YOUR-OUTLOOK-EMAIL
MAIL_PASSWORD=YOUR-PASSWORD-EMAIL
MAIL_ENCRYPTION=tls
```

Modify views
------------

[](#modify-views)

If you want to customer the contact form partials, you can run:

```
php artisan vendor:publish --provider="Taskuniverse\ContactForm\ContactFormServiceProvider"
```

Usage
-----

[](#usage)

Navigate to &lt;host&gt;/contact

Tested
------

[](#tested)

- php 7.2
- laravel 5.8

Preview
-------

[](#preview)

[![contact-form-preview](https://user-images.githubusercontent.com/27818621/59525871-1384f100-8e9d-11e9-8e3e-0f69d8bb96db.png)](https://user-images.githubusercontent.com/27818621/59525871-1384f100-8e9d-11e9-8e3e-0f69d8bb96db.png)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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 ~20 days

Total

4

Last Release

2462d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2da637ed28a44ace8942d3d10f06e6601d9b6f5130cadc078eda5301b01cd1b0?d=identicon)[NickSealer](/maintainers/NickSealer)

---

Tags

laravelmailformcontactgmailoutlook

### Embed Badge

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

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

###  Alternatives

[modernmcguire/mailthief

A Laravel package to catch outbound mail (similar to Mailtrap) that also provides a UI to view them.

318.5k](/packages/modernmcguire-mailthief)

PHPackages © 2026

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