PHPackages                             jonhoo/laravel-former - 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. jonhoo/laravel-former

ActiveLibrary

jonhoo/laravel-former
=====================

Laravel form library

0.4.1(12y ago)240MITPHPPHP &gt;=5.3.0

Since Jun 9Pushed 12y ago1 watchersCompare

[ Source](https://github.com/jonhoo/laravel-former)[ Packagist](https://packagist.org/packages/jonhoo/laravel-former)[ Docs](https://github.com/jonhoo/laravel-former)[ RSS](/packages/jonhoo-laravel-former/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

Former
======

[](#former)

Former is a form library for Laravel that provides HTML5 form field types, validation and various other convenient luxuries for modern app development.

Build status: [![Build Status](https://camo.githubusercontent.com/bdf852871956fb5bab8030a51530df1f0ab5c19ac398ab37a6b66fbe54d864ad/68747470733a2f2f7472617669732d63692e6f72672f6a6f6e686f6f2f6c61726176656c2d666f726d65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jonhoo/laravel-former)

Notes on usage until examples are in place
------------------------------------------

[](#notes-on-usage-until-examples-are-in-place)

Former will validate all data that is passed to it, but will not change the array that is given to it. To avoid mass-assignment attacks and such, use

```
$form = new Form(/* ... */);
$form->setInput(Input::all());
$validator = $form->accept();
if (!$validator->fails()) {
  $data = $validator->getData();
  // Work with $data, NOT Input::all()!
}
```

Installing
----------

[](#installing)

- Install [Composer](http://getcomposer.org) and place the executable somewhere in your `$PATH` (for the rest of this README, I'll reference it as just `composer`)
- Add `jonhoo/former` to your project's `composer.json:

```
{
    "require": {
        "jonhoo/former": "0.*"
    }
}
```

- Install/update your dependencies

```
$ cd my_project
$ composer install
```

And you're good to go! Have a look at the **example files** in `examples/` to see how you might go about using Former.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Recently: every ~81 days

Total

7

Last Release

4392d ago

### Community

Maintainers

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

---

Top Contributors

[![jonhoo](https://avatars.githubusercontent.com/u/176295?v=4)](https://github.com/jonhoo "jonhoo (38 commits)")

---

Tags

laravellibraryform

### Embed Badge

![Health badge](/badges/jonhoo-laravel-former/health.svg)

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

###  Alternatives

[carsdotcom/laravel-json-schema

Json Schema validation for Laravel projects

1036.7k3](/packages/carsdotcom-laravel-json-schema)[printnow/laravel-admin

Dcat admin 永久分叉版 / 支持 Laravel 12, PHP 版本限制 &gt;= 8.1（支持 PHP 8.4）

432.0k](/packages/printnow-laravel-admin)

PHPackages © 2026

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