i80586/laravel-form-fields

Laravel form fields generator - for admin panels

Installs: 933

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/i80586/laravel-form-fields

v1.1.5 2025-01-25 21:53 UTC

This package is auto-updated.

Last update: 2025-10-25 23:32:20 UTC


README

Form fields generator for Laravel

Latest Version Build Status

Examples:


{!! html()->input('firstName') !!}

This will be output:

<label for="firstName">FirstName</label>
<input type="text" id="firstName" class="form-control" name="firstName" value="">

You can change automatic generated label and set first default value:
{!! html()->input('firstName', 'John', ['label' => 'Your name']) !!}

This will be output:

<label for="firstName">Your name</label>
<input type="text" id="firstName" class="form-control" name="firstName" value="John">

Change input type by setting fourth argument which is set by default to text:
{!! html()->input('price', 0, [], 'number') !!}

Enjoy :)