Simple form builder for Laravel, using Bulma css
realcahsowan/laravel-bulma-form is a Laravel package for simple form builder for laravel, using bulma css.
It currently has 0 GitHub stars and 57 downloads on Packagist.
Install it with composer require realcahsowan/laravel-bulma-form.
Discover more Laravel packages by realcahsowan
or browse all Laravel packages to compare alternatives.
Last updated
Laravel form builder using Bulma css
composer require realcahsowan/laravel-bulma-form
php artisan make:form BookForm
above command will generate BookForm class file in app/Http/Forms directory
// Don't forget to import
use App\Http\Forms\BookForm;
public function create(BookForm $form)
{
return view('books.create')->with('form', $form->generate('POST', route('books.store')));
}
To render the form simply do {{ $form }}
Add below lines insde the body tag of your layout blade file:
<!-- resources/views/layouts/master.blade.php -->
@yield('extra_script')