crunchy/crunchy-signup
Composer 安装命令:
composer require crunchy/crunchy-signup
包简介
Signup process for ZfcUser with email confirmation
README 文档
README
Version 0.0.1 Created by Patrick Sagan (zf2dev.com)
INTRODUCTION
CrunchySignup is a user registration module for Zend Framework 2 which provides email verification functionality during registration process. It extends ZfcUser module. It adds extra columns to user table like: created_at, updated_at, token, token_created_at.
REQUIREMENTS
- Zend Framework 2 (latest master)
- ZfcBase (latest master)
- ZfcUser (latest master)
INSTALLATION
WITH COMPOSER (RECOMMENDED)
-
Add this project, ZfcUser and ZfcBase in your composer.json:
"require": { "zf-commons/zfc-base": "dev-master", "zf-commons/zfc-user": "dev-master", "crunchy/crunchy-signup": "dev-master" }
-
Tell Composer to download CrunchySignup:
$ php composer.phar update
… OR BY CLONING PROJECT
- Install the ZfcBase ZF2 module by cloning it into ./vendor/.
- Install the ZfcUser ZF2 module by cloning it into ./vendor/.
- Clone this project into your ./vendor/ directory.
POST INSTALLATION
-
apply schema from ./vendor/crunchy/crunchy-signup/data/schema_up.sql
-
Turn on module in ./config/application.config.php file - add 'CrunchySignup'. Please ensure that CrunchySignup is added after ZfcBase and ZfcUser.
'modules' => array( 'ZfcBase', 'ZfcUser', 'CrunchySignup' )
-
Configure zfcuser module in ./config/autoload/zfcuser.global.php
- 'user_entity_class' => 'CrunchySignup\Entity\User'
- 'login_after_registration' => false,
- 'enable_user_state' => true,
- 'default_user_state' => null,
- 'allowed_login_states' => array( 1 )
- Copy CrunchySignup/config/crunchysignup.global.php.dist to ./config/autoload/crunchysignup.global.php
FUTURE UPGRADES (TO-DO)
- Do it more configurable (important)
- Add Doctrine Adapter
- Add other mail transports
KNOW HOW :
How to override built in view scripts ?
- In your module, under the view directory, create the folder tree crunchy-signup/register.
- Create the necessary override view scripts, depending on which page(s) you want to change: e.g.: crunchy-signup/register/register.phtml
- Refer to each built-in view script to see how the form is configured and rendered. NOTE: Your module must be loaded after CrunchySignup or the overriding will not work.
crunchy/crunchy-signup 适用场景与选型建议
crunchy/crunchy-signup 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 92 次下载、GitHub Stars 达 8, 最近一次更新时间为 2013 年 01 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「email」 「zf2」 「user」 「zfcuser」 「signup」 「register」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 crunchy/crunchy-signup 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 crunchy/crunchy-signup 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 crunchy/crunchy-signup 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
LosLog provides some log utility
EdpModuleLayouts is very simple Laminas module for making module-specific layouts insanely easy.
Zend Framework module to leverage the symfony dependency injection container
RCM User HTML views/pages
Builds a Bridge between Zend Expressive and Plugin Managers of Zend\MVC
Extensible library for building notifications and sending them via different delivery channels.
统计信息
- 总下载量: 92
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2013-01-27