sandbox-dev / laravel-html
Laravel Html Form & Html package
2.0.0
2024-04-29 11:09 UTC
Requires
- php: ^8.3
- illuminate/http: ^10.0|^11.0
- illuminate/routing: ^10.0|^11.0
- illuminate/session: ^10.0|^11.0
- illuminate/support: ^10.0|^11.0
- illuminate/view: ^10.0|^11.0
Requires (Dev)
- illuminate/database: ^10.0|^11.0
- mockery/mockery: ~1.0
- phpunit/phpunit: ~8.5|^9.5.10
This package is auto-updated.
Last update: 2024-04-29 11:10:10 UTC
README
composer require sandbox-dev/laravel-html
Quick Example
/* Form, in a blade */ {!! Form::open(['url' => 'foo/bar']) !!} // {!! Form::close() !!} /* Input, in a blade */ {!! Form::text('username', 'Admin') !!} /* Select, in a blade */ {!! Form::select('size', ['L' => 'Large', 'S' => 'Small'], 'L') !!} /* use class */ {!! Form::text('username', 'Admin', ['class' => 'form-control']) !!}