PHPackages                             soarecostin/blade-form-components - 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. soarecostin/blade-form-components

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

soarecostin/blade-form-components
=================================

Laravel Blade form components

v0.3.0(6y ago)3160MITPHPPHP ^7.1CI failing

Since Jul 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/soarecostin/blade-form-components)[ Packagist](https://packagist.org/packages/soarecostin/blade-form-components)[ Docs](https://github.com/soarecostin/blade-form-components)[ RSS](/packages/soarecostin-blade-form-components/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (8)Dependencies (4)Versions (9)Used By (0)

A collection of Blade Components for quick &amp; easy forms in Bootstrap and Bulma
==================================================================================

[](#a-collection-of-blade-components-for-quick--easy-forms-in-bootstrap-and-bulma)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/bf7def8c1ed918a9071ef9d9b21f7f8a0c4477a32e44d6d66698ef34d2a110a7/68747470733a2f2f7472617669732d63692e6f72672f736f617265636f7374696e2f626c6164652d666f726d2d636f6d706f6e656e74732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/soarecostin/blade-form-components)[![StyleCI](https://camo.githubusercontent.com/2b99ebaeaa56e56cffe995ea044fa352a1ac36a26fea04dc1ed3d88fd876ef38/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3139353035333136342f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/195053164)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/333fbcfe196c827d84457b8306e677c6b912f28e365d36f57989d9c90a8a6881/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f617265636f7374696e2f626c6164652d666f726d2d636f6d706f6e656e74732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/soarecostin/blade-form-components/?branch=master)[![Build Status](https://camo.githubusercontent.com/78b7ba63226d23bb07d4f95353f674d0a7d6e78a42d49d8711b3d62d2c714f12/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f617265636f7374696e2f626c6164652d666f726d2d636f6d706f6e656e74732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/soarecostin/blade-form-components/build-status/master)[![Total Downloads](https://camo.githubusercontent.com/33f43ab7940b37ede8ad8dda53a8bc7fd679f035c4654e3040ffa4e5b7378d27/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f617265636f7374696e2f626c6164652d666f726d2d636f6d706f6e656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/soarecostin/blade-form-components)

This package allows to you build forms in blade in a clean and easy way. It provides a `@form` directive that you can use in Blade in order to render forms. The forms can be rendered in *Bootstrap*, *Bulma* or *Tailwind*.

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

[](#installation)

You can install the package via composer:

```
composer require soarecostin/blade-form-components
```

Usage
-----

[](#usage)

### Example

[](#example)

A demo usage of this package can be seen at: ([github repo](https://github.com/soarecostin/blade-form-components-demo))

The demo uses the following Blade template in order to render the form:

```
@form('open')

    @form('input', ['name' => 'id', 'disabled' => true, 'value' => 1])

    @form('input', ['name' => 'name', 'required' => true, 'placeholder' => 'John Doe'])

    @form('password', ['name' => 'password', 'required' => true, 'help' => 'Minimum 6 characters'])

    @form('email', ['name' => 'email', 'required' => true, 'placeholder' => 'john.doe@gmail.com'])

    @form('input', ['name' => 'price', 'class' => 'is-rounded is-expanded', 'required' => true,
        'addons' => $priceAddons,
    ])

    @form('textarea', ['name' => 'message', 'rows' => 6, 'desc' => 'Let us know how we can help you below'])

    @form('select', [
        'name' => 'language',
        'label' => 'Language',
        'options' => [
            'en' => 'English',
            'fr' => 'French'
        ],
        'nulloption' => 'Please select',
    ])

    @form('checkbox', ['name' => 'terms', 'label' => 'I agree to the Terms and Conditions'])

    @form('submit', ['name' => 'Submit', 'class' => 'is-warning'])

@form('close')
```

### Customization

[](#customization)

You can publish the configuration file, that contains all the available checks using:

```
php artisan vendor:publish --provider=SoareCostin\BladeFormComponents\BladeFormComponentsServiceProvider
```

This will publish a `blade-form-components.php` file in your config folder.

### 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.

Credits
-------

[](#credits)

- [Costin Soare](https://github.com/soarecostin)
- [All Contributors](../../contributors)

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

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~36 days

Recently: every ~61 days

Total

8

Last Release

2240d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e6a3530dabd438342d60c35adbfac90091860bcdb49b3498678178fe088f38d?d=identicon)[soarecostin](/maintainers/soarecostin)

---

Top Contributors

[![soarecostin](https://avatars.githubusercontent.com/u/6401790?v=4)](https://github.com/soarecostin "soarecostin (58 commits)")

---

Tags

blade-componentsbootstrapbulmaformslaraveltailwindcsssoarecostinblade-form-components

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/soarecostin-blade-form-components/health.svg)

```
[![Health](https://phpackages.com/badges/soarecostin-blade-form-components/health.svg)](https://phpackages.com/packages/soarecostin-blade-form-components)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[livewire/blaze

A tool for optimizing Blade component performance by folding them into parent templates

688221.3k17](/packages/livewire-blaze)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[orchid/blade-icons

An easy way inline SVG images in your Blade templates.

223.4M9](/packages/orchid-blade-icons)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42155.0k19](/packages/rareloop-lumberjack-core)

PHPackages © 2026

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