PHPackages                             fuelviews/laravel-forms - 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. [Templating &amp; Views](/categories/templating)
4. /
5. fuelviews/laravel-forms

ActiveLibrary[Templating &amp; Views](/categories/templating)

fuelviews/laravel-forms
=======================

Laravel forms package

v1.0.4(5mo ago)02.8k1MITPHPPHP ^8.3CI failing

Since May 9Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/fuelviews/laravel-forms)[ Packagist](https://packagist.org/packages/fuelviews/laravel-forms)[ Docs](https://github.com/fuelviews/laravel-forms)[ RSS](/packages/fuelviews-laravel-forms/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (13)Versions (39)Used By (1)

Laravel forms package
=====================

[](#laravel-forms-package)

Laravel forms package with built-in spam protection and optional Cloudflare Turnstile support.

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

[](#installation)

You can require the package via composer:

```
composer require fuelviews/laravel-forms
```

You can install the package with:

```
php artisan forms:install
```

You can manually publish the config file with:

```
php artisan vendor:publish --tag="forms-config"
```

You can publish the view files with:

```
php artisan vendor:publish --tag="forms-views"
```

Cloudflare Turnstile Setup (Optional)
-------------------------------------

[](#cloudflare-turnstile-setup-optional)

This package includes built-in support for Cloudflare Turnstile CAPTCHA to protect your forms from spam.

### 1. Get Your Turnstile Keys

[](#1-get-your-turnstile-keys)

1. Sign up for a free [Cloudflare account](https://dash.cloudflare.com/sign-up) if you don't have one
2. Go to the [Turnstile dashboard](https://dash.cloudflare.com/?to=/:account/turnstile)
3. Create a new site and get your Site Key and Secret Key

### 2. Configure Your Environment

[](#2-configure-your-environment)

Add these to your `.env` file:

```
FORMS_TURNSTILE_ENABLED=true
TURNSTILE_SITE_KEY=your_site_key_here
TURNSTILE_SECRET_KEY=your_secret_key_here
```

### Configuration Options

[](#configuration-options)

The package configuration in `config/forms.php` supports flexible environment variables:

```
    'turnstile' => [
        'enabled' => env('FORMS_TURNSTILE_ENABLED', false),
        'site_key' => env('TURNSTILE_SITE_KEY','1x00000000000000000000AA'),
        'secret_key' => env('TURNSTILE_SECRET_KEY','1x0000000000000000000000000000000AA'),
    ],
```

Form Usage (basic)
------------------

[](#form-usage-basic)

Include form method type, form method route, spam strap in the start and end of the form, form key, fake submit button, and a real submit button.

```

    /* Form fields here */

```

Form Usage (advanced)
---------------------

[](#form-usage-advanced)

```

                First name

                @error('firstName')
                    {{ $message }}
                @enderror

                Last name

                @error('lastName')
                    {{ $message }}
                @enderror

                Email

                @error('email')
                    {{ $message }}
                @enderror

                Phone

                @error('phone')
                    {{ $message }}
                @enderror

                    How can we help you?

                Max 255 characters

                @error('message')
                    {{ $message }}
                @enderror

```

Form Modal Usage
----------------

[](#form-modal-usage)

Include `forms-modal` into your `layouts.app.blade.php` file, trigger with a button. You can customize which layout blade file is used in the `config/forms.php` file

```
Show Modal
@livewire('forms-modal')
```

Tailwindcss classes
-------------------

[](#tailwindcss-classes)

Add laravel-forms to your tailwind.config.js file.

```
content: [
    './vendor/fuelviews/laravel-forms/resources/**/*.blade.php',
]
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

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

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Joshua Mitchener](https://github.com/thejmitchener)
- [Daniel Clark](https://github.com/sweatybreeze)
- [Fuelviews](https://github.com/fuelviews)
- [All Contributors](../../contributors)

Support us
----------

[](#support-us)

Fuelviews is a web development agency based in Portland, Maine. You'll find an overview of all our projects [on our website](https://fuelviews.com).

License
-------

[](#license)

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

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance82

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

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

Every ~21 days

Total

30

Last Release

178d ago

Major Versions

v0.0.25 → v1.0.02025-09-27

PHP version history (3 changes)v0.0.1PHP ^8.2

v0.0.23PHP ^8.3||^8.2

v0.0.25PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/83557136?v=4)[Fuelviews](/maintainers/fuelviews)[@fuelviews](https://github.com/fuelviews)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (352 commits)")[![thejmitchener](https://avatars.githubusercontent.com/u/64335706?v=4)](https://github.com/thejmitchener "thejmitchener (106 commits)")[![mvdnbrk](https://avatars.githubusercontent.com/u/802681?v=4)](https://github.com/mvdnbrk "mvdnbrk (46 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (33 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (20 commits)")[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (16 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (15 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (14 commits)")[![patinthehat](https://avatars.githubusercontent.com/u/5508707?v=4)](https://github.com/patinthehat "patinthehat (10 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (8 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (7 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (7 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (7 commits)")[![thecaliskan](https://avatars.githubusercontent.com/u/13554944?v=4)](https://github.com/thecaliskan "thecaliskan (5 commits)")[![irfanm96](https://avatars.githubusercontent.com/u/42065936?v=4)](https://github.com/irfanm96 "irfanm96 (5 commits)")[![IGedeon](https://avatars.githubusercontent.com/u/694313?v=4)](https://github.com/IGedeon "IGedeon (4 commits)")[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (3 commits)")[![jessarcher](https://avatars.githubusercontent.com/u/4977161?v=4)](https://github.com/jessarcher "jessarcher (3 commits)")[![koossaayy](https://avatars.githubusercontent.com/u/6431084?v=4)](https://github.com/koossaayy "koossaayy (3 commits)")[![lloricode](https://avatars.githubusercontent.com/u/8251344?v=4)](https://github.com/lloricode "lloricode (3 commits)")

---

Tags

laravelFormsFuelviews

###  Code Quality

TestsPest

Static AnalysisRector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/fuelviews-laravel-forms/health.svg)

```
[![Health](https://phpackages.com/badges/fuelviews-laravel-forms/health.svg)](https://phpackages.com/packages/fuelviews-laravel-forms)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M101](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.9k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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