Registry / web-framework / adamwathan-bootforms

adamwathan-bootforms

JSON →
library0.9.0phppackagistunverified

Just a Formbuilder with some Bootstrap specific conveniences. Remembers old input, retrieves error messages and handles all your boilerplate Bootstrap markup automatically.

composer require adamwathan/bootforms
INSTALL
IMPORT
SIG · ADAMWATHAN-BOOTFOR
A
adamwathan-bootforms
web-frameworkphpv0.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BootForms
use AdamWathan\BootForms\BootForms;

Creates a Bootstrap form with error handling.

<?php require 'vendor/autoload.php'; use AdamWathan\BootForms\BootForms; $form = new BootForms(); echo $form->open()->withErrors($errors); echo $form->text('name'); echo $form->close();
Debug
Known issues
gotchaDepends on Laravel's old input and error bags.
fix
Use within Laravel or provide old input and errors manually.
affects: >=0.9.0
Upgrade
Version history
0.9.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
41 hits · last 30 days
node
36
OpenAI (training)
2
Resources
adamwathan-bootforms — pip install adamwathan-bootforms · libregistry