PHPackages                             smallhadroncollider/laravel-form-presenter - 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. smallhadroncollider/laravel-form-presenter

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

smallhadroncollider/laravel-form-presenter
==========================================

Laravel Form Presenter

0.6.17(9y ago)2190MITPHP

Since Apr 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/smallhadroncollider/laravel-form-presenter)[ Packagist](https://packagist.org/packages/smallhadroncollider/laravel-form-presenter)[ RSS](/packages/smallhadroncollider-laravel-form-presenter/feed)WikiDiscussions master Synced 4w ago

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

Laravel Form Presenter
======================

[](#laravel-form-presenter)

A Laravel package for easily generating and manipulating forms.

Dealing with forms in plain HTML leads to a horrible mess. Using the [Laravel Collective HTML &amp; Forms](https://laravelcollective.com/docs/5.2/html) package makes things neater, but the logic for your form is still all over the place. Using Laravel Form Presenter you can define your form in one place and display it using a reusable `form` template.

---

Features
--------

[](#features)

- Easy to add your own field types
- Adds CSRF field automatically
- Adds required attributes on required fields
- (Almost) Automatic integration testing
- Automatically detects `file` field types and adds the necessary form attributes

---

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

[](#installation)

Add `SmallHadronCollider\LaravelFormPresenter\Providers\FormPresenterServiceProvider::class` to your service providers in `config/app.php`.

---

Example
-------

[](#example)

```
