承接 enjoys/forms 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

enjoys/forms

最新稳定版本:5.12.0

Composer 安装命令:

composer require enjoys/forms

包简介

forms 5.x dev

README 文档

README

Mutation testing badge Code Coverage Scrutinizer Code Quality php 8.0

Init form

use Enjoys\Forms\Form;
$form = new Form();
//or
$form = new Form('get', 'action.php');

Added Elements

use Enjoys\Forms\Form;
use Enjoys\Forms\Elements;

$form = new Form();
$form->text('name', 'label');

//or
$textElement = new Elements\Text('name', 'label');
$form->addElement($textElement);

List Elements

  • button
  • captcha (need CaptchaInterface Implement)
  • checkbox
  • color
  • datalist
  • date
  • datetime
  • datetimelocal
  • email
  • file
  • group
  • header
  • hidden
  • html
  • image
  • month
  • number
  • password
  • radio
  • range
  • reset
  • search
  • select
  • submit
  • tel
  • text
  • textarea
  • time
  • url
  • week

Run built-in server for view example

port=$(shuf -i 2048-65000 -n 1);
php -S localhost:"${port}" -t ./example .route

统计信息

  • 总下载量: 3.12k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 7
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-10-23