pagemachine/hairu
最新稳定版本:3.1.3
Composer 安装命令:
composer require pagemachine/hairu
包简介
Flexible login/logout form based on Extbase/Fluid
README 文档
README
Flexible login/logout form based on Extbase/Fluid to replace the felogin extension shipped with TYPO3 CMS.
入る (hairu, Japanese) means "enter"
Installation
This extension is installable from various sources:
-
Via Composer:
composer require pagemachine/hairu -
From the TYPO3 Extension Repository
-
From Github
After installation two new content elements Authentication form and Password edit form will be available in the Form elements section. Make sure to also include the static template.
Configuration
After including the static template a few options will be available in the Template Constant Editor for customization.
Make sure you set at least the Default storage PID to the page where your frontend user records are stored.
You can also use the stdWrap property on any settings value for custom processing. Example for easy translation of the password reset mail subject:
plugin.tx_hairu {
settings {
passwordReset {
mail {
subject.stdWrap.data = LLL:.../locallang.xlf:passwordReset.mail.subject
}
}
}
}
Password validation
The validation rules applied within the password reset and update process can be customized freely through TypoScript. Example from the default configuration:
plugin.tx_hairu {
// ...
mvc.validation {
// Validation of Authentication controller action arguments
Authentication {
// ...
completePasswordReset {
password {
1 {
type = StringLength
options {
minimum = 5
}
}
}
}
}
Password {
updatePassword {
password {
1 {
type = StringLength
options {
minimum = 5
}
}
}
}
}
}
}
You can use any validator type as long as Extbase can resolve it. In the example the builtin StringLength validator is set with a minimum length of 5.
The following formats for the validator type are supported:
- Extbase builtin validators:
StringLength(resolves toTYPO3\CMS\Extbase\Validation\Validator\StringLengthValidator) - Fully qualified class name:
Vendor\Package\Validation\Validator\CustomValidator - Shorthand syntax:
Vendor.Package:CustomValidator(resolves toVendor\Package\Validation\Validator\CustomValidator)
Issues
Found a bug? Need a feature? Let us know through our issue tracker.
Testing
All tests can be executed with the shipped Docker Compose definition:
docker-compose run --rm app composer build
Credits
Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
pagemachine/hairu 适用场景与选型建议
pagemachine/hairu 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 154.17k 次下载、GitHub Stars 达 29, 最近一次更新时间为 2014 年 11 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「typo3」 「fluid」 「extbase」 「felogin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 pagemachine/hairu 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pagemachine/hairu 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 pagemachine/hairu 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Set Links with a specific language parameter
Enables creation of responsive images for fluid styled content elements.
Highly flexible AJAX rating based on extbase/fluid/jquery. Allows multiple ratings within one page. Could be used as a cObj by other extensions or included in every FLUID template using the viewhelper. Each ratingstep could be configured having a name - international localization included.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
An interactive tour through the TYPO3 backend.
Create Flexible Content elements in pure fluid
统计信息
- 总下载量: 154.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 29
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2014-11-14