PHPackages                             landmark/landmark-web-component - 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. landmark/landmark-web-component

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

landmark/landmark-web-component
===============================

A reusable Laravel Livewire contact form component package

1.0.1(10mo ago)03MITBladePHP ^8.1|^8.2

Since Aug 27Pushed 10mo agoCompare

[ Source](https://github.com/i-amdash/web-component)[ Packagist](https://packagist.org/packages/landmark/landmark-web-component)[ RSS](/packages/landmark-landmark-web-component/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (3)Used By (0)

Landmark Web Component - Laravel Livewire Contact Form
======================================================

[](#landmark-web-component---laravel-livewire-contact-form)

A reusable Laravel Livewire contact form component that can be easily integrated into any Laravel application.

Features
--------

[](#features)

- 🚀 Easy integration with Laravel/Livewire applications
- 🎨 Multiple themes (Default, Bootstrap, Tailwind)
- ⚡ Real-time validation
- 📧 Multiple submission handlers (email, database, webhook, custom)
- 🔧 Highly configurable
- � Event-driven architecture
- 📱 Responsive design

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

[](#installation)

Install the package via Composer:

```
composer require landmark/landmark-web-component
```

### Laravel Auto-Discovery

[](#laravel-auto-discovery)

The package will automatically register itself. If you have auto-discovery disabled, add the service provider to your `config/app.php`:

```
'providers' => [
    // ...
    Landmark\LandmarkWebComponent\LandmarkWebComponentServiceProvider::class,
],
```

### Publish Configuration (Optional)

[](#publish-configuration-optional)

Publish the configuration file to customize the component:

```
php artisan vendor:publish --tag=landmark-web-component-config
```

### Publish Views (Optional)

[](#publish-views-optional)

Publish the views if you want to customize the component appearance:

```
php artisan vendor:publish --tag=landmark-web-component-views
```

Quick Start
-----------

[](#quick-start)

### Basic Usage

[](#basic-usage)

Add the component to any Blade template:

```

```

### With Custom Options

[](#with-custom-options)

```

```

```
'submitText' => 'Send Now',
'showTitle' => true,
'redirectAfterSubmit' => '/thank-you'

```

\])

```

## Configuration

### Environment Variables

Add these to your `.env` file:

```env
CONTACT_FORM_HANDLER=email
CONTACT_FORM_EMAIL=admin@example.com
CONTACT_FORM_SUBJECT="New Contact Form Submission"
CONTACT_FORM_WEBHOOK_URL=https://your-webhook.com/endpoint

```

### Available Themes

[](#available-themes)

- `default` - Clean design with Tailwind CSS
- `dark` - Dark theme variant
- `minimal` - Minimalist design
- `bootstrap` - Bootstrap-styled form

### Submission Handlers

[](#submission-handlers)

1. **Log Handler** (default)

    ```
    CONTACT_FORM_HANDLER=log
    ```
2. **Email Handler**

    ```
    CONTACT_FORM_HANDLER=email
    CONTACT_FORM_EMAIL=admin@example.com
    ```
3. **Database Handler**

    ```
    CONTACT_FORM_HANDLER=database
    ```
4. **Webhook Handler**

    ```
    CONTACT_FORM_HANDLER=webhook
    CONTACT_FORM_WEBHOOK_URL=https://your-webhook.com/endpoint
    ```
5. **Custom Handler**

    ```
    CONTACT_FORM_HANDLER=custom
    ```

Advanced Usage
--------------

[](#advanced-usage)

### Custom Event Handling

[](#custom-event-handling)

Listen for form submissions in your components:

```
protected $listeners = ['contactFormSubmitted' => 'handleContactForm'];

public function handleContactForm($formData)
{
    // Custom logic here
}
```

### Custom Styling

[](#custom-styling)

Publish the views and modify the Blade template:

```
php artisan vendor:publish --provider="YourVendor\LivewireContactForm\LivewireContactFormServiceProvider" --tag="views"
```

Then edit: `resources/views/vendor/livewire-contact-form/contact-form.blade.php`

Requirements
------------

[](#requirements)

- PHP ^8.2
- Laravel ^9.0|^10.0|^11.0
- Livewire ^2.0|^3.0

License
-------

[](#license)

MIT License

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance54

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity50

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

Total

2

Last Release

311d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13987752?v=4)[Doyinsola](/maintainers/doyinsola)[@Doyinsola](https://github.com/Doyinsola)

---

Tags

laravelpackagelivewirecomponentweb-componentcontact form

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/landmark-landmark-web-component/health.svg)

```
[![Health](https://phpackages.com/badges/landmark-landmark-web-component/health.svg)](https://phpackages.com/packages/landmark-landmark-web-component)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9527.8M128](/packages/livewire-flux)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.2k14](/packages/tallstackui-tallstackui)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43311.2k](/packages/venturedrake-laravel-crm)[mati365/ckeditor5-livewire

CKEditor 5 integration for Laravel Livewire

447.9k](/packages/mati365-ckeditor5-livewire)

PHPackages © 2026

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