andreasnij/form-components-for-laravel

Blade form components for Laravel.
2,263
Install
composer require andreasnij/form-components-for-laravel
Latest Version:2.1.1
PHP:>=8.2
License:MIT
Last Updated:May 22, 2026
Links: GitHub  ·  Packagist
Maintainer: andreasnij

Form components for Laravel

Blade form components for Laravel.

This package is currently in a pre-release stage so use at your own risk. Things might change.

Installation

Add the package as a requirement to your composer.json:

$ composer require andreasnij/form-components-for-laravel

Usage

<x-form method="PATCH" action="{{ route('products.update', $product) }}" :model="$product">
    
    <x-input label="Name" name="name" />
    
    <button type="submit">Save</button>
    
</x-form>

Author

Andreas Nilsson (https://github.com/andreasnij)

License

This software is licensed under the MIT License - see the LICENSE file for details.

Related Packages

Version History

Version Released PHP Laravel License
2.1.1 >=8.2 ^12.0 || ^13.0 MIT
2.1 >=8.2 ^12.0 || ^13.0 MIT
2.0 >=8.2 ^12.0 || ^13.0 MIT
1.0.2 >=8.2 ^11.0 || ^12.0 MIT
1.0.1 >=8.2 ^11.0 || ^12.0 MIT