unusualify / laravel-form
Form input components for laravel blade
Installs: 221
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: >=7.4
- cartalyst/tags: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0|^14.0
- intervention/image: ^2.7|^3.0
This package is auto-updated.
Last update: 2024-10-30 21:16:39 UTC
README
php artisan vendor:publish --provider="OoBook\LaravelForm\LaravelServiceProvider" --tag="migrations"
@inputField('text', [
'input_name' => 'name',
'label' => 'Report Name',
'model' => $item,
'placeholder' => __('Name'),
'class' => '',
'props' => "
required
autofocus
minlength=5
",
])
@unusualForm([
'inputs' => [
[
'type' => 'text',
'input_name' => 'name',
'label' => 'Social Media Name',
'model' => $item,
'placeholder' => __('Name'),
'class' => '',
'props' => 'required autofocus',
],
[
'type' => 'filepond',
'input_name' => 'logo',
'label' => 'Social Media Logo',
'model' => $item,
'placeholder' => __('Logo'),
'class' => '',
'props' => 'required autofocus',
]
]
])