PHPackages                             tutortonym/laravel-blade-directives - 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. tutortonym/laravel-blade-directives

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

tutortonym/laravel-blade-directives
===================================

Laravel blade directives to create forms with ease.

1.7.2(5y ago)119MITPHPPHP ^7.1.3CI failing

Since May 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/TutorTonyM/laravel-blade-directives)[ Packagist](https://packagist.org/packages/tutortonym/laravel-blade-directives)[ Docs](https://tutortonym.com/packages/laravel/laravel-blade-directives)[ RSS](/packages/tutortonym-laravel-blade-directives/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (1)Versions (11)Used By (0)

laravel-blade-directives
========================

[](#laravel-blade-directives)

Laravel Blade directives to create forms with ease.

This package will allow you to create html forms related tags using Blade directives. It will take care of additional elements needed in most forms such as CSRF tokens, spoofing, validation errors, old values, and displaying values from the database with minimum effort. For simplicity purposes, from here on this package will be referred to as ttm-directives.

Documentation
-------------

[](#documentation)

The official documentation for this package can be found [Here](https://tutortonym.com/packages/laravel/laravel-blade-directives).

Compatibility
-------------

[](#compatibility)

This package is compatible with Laravel 5.7 and above.

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

[](#installation)

You can install the package via composer:

```
composer require tutortonym/laravel-blade-directives
```

The package will automatically register itself and it will be ready to use.

Available Directives
--------------------

[](#available-directives)

- @button(optional)
- @checkbox(optional)
- @email(optional)
- @endform
- @form(optional)
- @hidden(optional)
- @input(optional)
- @label(optional)
- @number(optional)
- @password(optional)
- @radio(optional)
- @select(optional)
- @textarea(optional)

More directives to be added in the upcoming versions.

How to Use
----------

[](#how-to-use)

All Blade directives are used on the views.

### @form(action)

[](#formaction)

In this example we are using the directive with the action option. The value given will be the the name of a route in your project. This is how it should be used, however, you are not limited to using route names. Look below for other url options.

- action = the route name for the form submission

```
@form(login)

@endform
```

The result will be a form with an action attribute pointing to a route name, a method of post and a csrf token field.

```

```

About TutorTonyM
----------------

[](#about-tutortonym)

I'm a developer from the United States who creates software and websites on a daily basis. I'm passionate about what I do, and I like to share the knowledge I possess. I share my knowledge on different platforms such as [YouTube.com/TutorTonyM](https://www.youtube.com/tutortonym) and [TutorTonyM.com](https://tutortonym.com/). You can follow me on my social media @TutorTonyM on [Facebook](http://www.facebook.com/tutortonym), [Instagram](https://www.instagram.com/tutortonym), and [Twitter](https://www.twitter.com/tutortonym).

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

10

Last Release

2140d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f764f723229fb28a100c65f9da3c5be25c96fa54cdafebe86466807116c387e9?d=identicon)[TutorTonyM](/maintainers/TutorTonyM)

---

Top Contributors

[![TutorTonyM](https://avatars.githubusercontent.com/u/40620740?v=4)](https://github.com/TutorTonyM "TutorTonyM (33 commits)")

---

Tags

laravelbladeFormsdirectiveslaravel-blade-directivesLaravel Formsblade-formsform creatorttmtutortonymtutor tony mdirective-formscreate-formsttm-forms

### Embed Badge

![Health badge](/badges/tutortonym-laravel-blade-directives/health.svg)

```
[![Health](https://phpackages.com/badges/tutortonym-laravel-blade-directives/health.svg)](https://phpackages.com/packages/tutortonym-laravel-blade-directives)
```

PHPackages © 2026

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