rainlab/user-plugin
Composer 安装命令:
composer require rainlab/user-plugin
包简介
User plugin for October CMS
关键字:
README 文档
README
Front-end user management for October CMS. View this plugin on the October CMS marketplace:
Requirements
- October CMS 3.6 or above
- The AJAX Framework to be included in your layout/page
Installation Instructions
Run the following to install this plugin:
php artisan plugin:install RainLab.User
To uninstall this plugin:
php artisan plugin:remove RainLab.User
Older Versions
If you are using October CMS v3.0 - v3.5, install v2.1 with the following commands:
composer require rainlab/user-plugin "^2.1"
If you are using October CMS v1.0 - v2.3, install v1.7 with the following commands:
composer require rainlab/user-plugin "^1.7"
Sample Theme
We recommend installing this plugin with the RainLab.Vanilla theme to demonstrate its functionality.
For extra functionality, consider also installing the RainLab.UserPlus plugin.
Managing Users
Users are managed on the Users tab found in the admin panel. Each user provides minimal data fields - First Name, Last Name, Email and Password. The Name can represent either the person's first name or their full name, making the Last Name field optional, depending on the complexity of your site.
Below the Email field is an checkbox to block all outgoing mail sent to the user. This is a useful feature for accounts with an email address that is bouncing mail or has reported spam. When checked, no mail will ever be sent to this address, except for the mail template used for resetting the password.
Plugin Settings
This plugin creates a Settings menu item, found by navigating to Settings > Users > User Settings. This page allows the setting of common features, described in more detail below.
Sign In
By default a User will sign in to the site using their email address as a unique identifier. You may use a unique login name instead by changing the Login Attribute value to Username. This will introduce a new field called Username for each user, allowing them to specify their own short name or alias for identification. Both the Email address and Username must be unique to the user.
As a security precaution, you may restrict users from having sessions across multiple devices at the same time. Enable the Prevent Concurrent Sessions setting to use this feature. When a user signs in to their account, it will automatically sign out the user for all other sessions.
Registration
Registration to the site is allowed by default. If you are running a closed site, or need to temporarily disable registration, you may disable this feature by switching Allow user registration to the OFF setting.
Notifications
When a user is first activated, they can be sent a welcome email. To activate the welcome email, select "Notify User" and an email template from the User Message Template dropdown. The default message template used is user:welcome_email and you can customize this by selecting Mail > Mail Templates from the settings menu.
The same applies for notifying the system administrators when a new user joins, with the "Notify Administrators" checkbox. The administrators to notify are selected using Notify Admin Group dropdown.
Documentation
Getting Started
Components
Services
License
This plugin is an official extension of the October CMS platform and is free to use if you have a platform license. See EULA license for more details.
rainlab/user-plugin 适用场景与选型建议
rainlab/user-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 55.03k 次下载、GitHub Stars 达 118, 最近一次更新时间为 2016 年 07 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「user」 「october」 「octobercms」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rainlab/user-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rainlab/user-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rainlab/user-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Laravel Horizon integration for October CMS
Maintenance page plugin
Location plugin for October CMS
Standalone replacement for php's native get_browser() function
User component for Yii2
Custom form builder for OctoberCMS
统计信息
- 总下载量: 55.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 119
- 点击次数: 2
- 依赖项目数: 15
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2016-07-16