PHPackages                             adityar15/contactform - 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. adityar15/contactform

ActiveLibrary

adityar15/contactform
=====================

A contact form package using Livewire and Tailwind CSS

v1.0(5y ago)010MITPHP

Since Mar 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/adityar15/contactform)[ Packagist](https://packagist.org/packages/adityar15/contactform)[ RSS](/packages/adityar15-contactform/feed)WikiDiscussions main Synced 4w ago

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

This is a simple Laravel package for adding functional responsive contact form to your website.
===============================================================================================

[](#this-is-a-simple-laravel-package-for-adding-functional-responsive-contact-form-to-your-website)

Whenever user fills up the detail and clicks send message, you receive an email at the email address specified by you. It is built using Livewire and Tailwind CSS

Pre Requisites:
===============

[](#pre-requisites)

```
Livewire 2.x

```

Installation
============

[](#installation)

To install use the following command

```
composer require adityar15/contactform

```

Publising view and config files
===============================

[](#publising-view-and-config-files)

Once install publish the config and view files.

```
php artisan vendor:publish --provider="adityar15\contactform\ContactFormServiceProvider"

```

Blade file changes
==================

[](#blade-file-changes)

In your blade file include tailwind cdn

```

```

Now in the same blade file wherever you would like to have the contact form just include these two lines

```
  @livewire('adityar15contactform')
  @livewireScripts

```

Usage
=====

[](#usage)

If you do not wish to use tailwind and have your own custom styling, you can do it by editing the blade file.

You can edit the stylings of the form by editing the view file in the resources/views/vendor/contactform/contactform.blade.php You can edit the email template from the view file in the resources/views/vendor/contactform/emailtemplate.blade.php

Alternatively you can change the email template blade from the config file. The config file is named as contactform.php.

```
