themindoffice/formbuilder
Composer 安装命令:
composer require themindoffice/formbuilder
包简介
Add formbuilder addon to Iris
README 文档
README
Formbuilder is a Iris library for generating forms. Useless if you don't use Iris CMS.
Installation
- Run command:
composer require "themindoffice/formbuilder" @dev
(Stable version coming soon)
- Copy 'vendor/themindoffice/formbuilder/src/' to 'modules/Addons'
- Go to your-local-domain.test/formbuilder/install
This function add the needed tables and components.
- 'modules/Addons/Formbuiler/install' will be deleted automatically
- Remove method 'install' form 'modules/Addons/Formbuiler' manually
Usage
- Use the code below in your HTML:
<?= form(1) ->useBootstrap(5) ->addColumnClass('mb-3') ->addButtonClass('btn btn-green') ->showLabel(true) ->html(); ?>
- Add this in your .env file with the right credentials. Make sure the domain is whitelisted at Mandrill.
MAIL_FROM_ADDRESS=example@mail.com
MAIL_FROM_NAME="Example"
统计信息
- 总下载量: 99
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-05