bernskioldmedia / laravel-form-architect
A fluent helper to build powerful forms in PHP designed to be outputted in blade.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.2
- illuminate/contracts: ^10.0|^11.0
Requires (Dev)
- laravel/pint: ^1.0
- orchestra/testbench: ^6.0|^7.0|^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-laravel: ^2.2.0
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2024-11-06 08:39:23 UTC
README
Prerequisites
- Laravel 10 or higher
- PHP 8.2 or higher
Installation
You can install the package via composer:
composer require bernskioldmedia/laravel-form-architect
Publishing config and views
You can publish the config file with:
php artisan vendor:publish --tag="laravel-form-architect-config"
This is the contents of the published config file:
<?php return [ 'components' => [ 'form' => 'form.index', 'fieldset' => 'form.fieldset', 'field' => 'form.field', 'input' => 'form.input', 'checkbox' => 'form.checkbox', 'radio' => 'form.radio', 'select' => 'form.select', 'textarea' => 'form.textarea', 'multiselect' => 'form.multiselect', ], ];
Optionally, you can publish the views using
php artisan vendor:publish --tag="laravel-form-architect-views"
Usage
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.