andreasnij/form-components-for-laravel

Blade form components for Laravel.

0.3 2024-04-04 09:42 UTC

This package is auto-updated.

Last update: 2024-12-06 11:26:30 UTC


README

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.