brino / blade-questions
Laravel Blade Form Components
dev-main
2023-05-09 16:12 UTC
Requires
- illuminate/support: ^8.0|^9.0|^10.0
- illuminate/view: ^8.0|^9.0|^10.0
This package is auto-updated.
Last update: 2024-10-09 19:02:04 UTC
README
Laravel Blade Components for Quickly making forms
Requirements
- Laravel 8 or 9
- PHP 7 or 8
Installation
composer require brino/blade-questions
Usage Examples
<x-question-input label="Owner" :parent="$settings" placeholder="username"></x-questions-input> <x-question-select label="Status" :options="[1 => 'Stock', 2 => 'Distribution']"></x-question-select> <x-question-checkbox :choices="[1=>'Distribution', 2=>'Stock']" label="Status"></x-question-checkbox> <x-question-radio :choices="[1=>'Yes', 0=>'No']" :parent="$settings" label="Calculate Formulas (optional)" name="calculate_formulas" tooltip="Pre-calculation of formulas in non-text file spreadsheets"></x-questions.radio>
License
BladeQuestions is released under the MIT Open Source License, https://opensource.org/licenses/MIT