bernskioldmedia/laravel-form-architect
Composer 安装命令:
composer require bernskioldmedia/laravel-form-architect
包简介
A fluent helper to build powerful forms in PHP designed to be outputted in blade.
README 文档
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.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-05