radiocubito/laravel-blade-input

This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel blade input components made with Tailwind CSS

1.0.0 2020-06-24 23:15 UTC

This package is auto-updated.

Last update: 2021-10-16 14:42:29 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

laravel-blade-input is a small collection of blade components for input fields. Currently text, textarea and select are available.

Installation

You can install the package via composer:

composer require radiocubito/laravel-blade-input

Usage

<x-input.group label="Email address" for="email" :error="$errors->first('email')">
    <x-input.text wire:model.lazy="email" id="email" required autofocus />
</x-input.group>

<x-input.group label="Countries" for="countries" :error="$errors->first('countries')">
    <x-input.select wire:model="countries" id="countries" :options="$countries" />
</x-input.group>

<x-input.group label="Description" for="description" :error="$errors->first('description')">
    <x-input.textarea wire:model="description" id="description" />
</x-input.group>

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email oliver@radiocubito.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.