cakedc/users 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

cakedc/users

Composer 安装命令:

composer require cakedc/users

包简介

Users Plugin for CakePHP

README 文档

README

Build Status Coverage Status Total Downloads Latest Stable Version License

The Users plugin for CakePHP provides a comprehensive, extensible solution for user management, authentication, and authorization. It's designed to get you up and running with a full-featured user system in minutes, while remaining flexible enough for complex, custom applications.

Versions and branches

CakePHP CakeDC Users Plugin Tag Notes
^5.3 16.x 16.0.0 Stable (Current)
^5.0 15.x 15.1.3 Stable
^5.0 14.x 14.3.4 Stable
^4.5 13.x 13.0.1 Stable
^4.3 11.x 11.1.0 Stable
^4.0 9.x 9.0.5 Stable
^3.7 8.x 8.5.1 Stable

Key Features

  • User Lifecycle: Registration, email validation, profile management, and password reset.
  • Authentication: Login/Logout, "Remember Me" (Cookie), and Magic Link (one-click login).
  • Social Login: Facebook, Twitter, Instagram, Google, LinkedIn (via OpenID Connect), Amazon, GitHub.
  • Security & 2FA:
    • One-Time Password (OTP) for Two-Factor Authentication.
    • Webauthn (Yubico Key, TouchID, etc.) for Two-Factor Authentication.
    • Account lockout policy after failed attempts.
    • Password strength meter.
    • reCaptcha v2 and v3 support.
  • Authorization: Integrated RBAC (Role-Based Access Control) and Superuser support via CakeDC/auth.
  • Extensibility: Easily extend Controllers, Models (Tables/Entities), Mailers, and Templates.
  • Admin Management: Out-of-the-box CRUD for user management.

Requirements

  • CakePHP 5.0+
  • PHP 8.1+

Quick Start (Installation)

  1. Install via Composer:
    composer require cakedc/users
  2. Load the Plugin: In your src/Application.php:
    public function bootstrap(): void
    {
        parent::bootstrap();
        $this->addPlugin('CakeDC/Users');
    }
  3. Run Migrations:
    bin/cake migrations migrate -p CakeDC/Users
  4. Create a Superuser:
    bin/cake users add_superuser

Documentation

For full installation details, configuration options, and tutorials, please visit the Documentation.

Support

Contributing

We welcome contributions! Please review our Contribution Guidelines and the CakeDC Plugin Standard.

License

Copyright 2010 - Present Cake Development Corporation (CakeDC). All rights reserved.

Licensed under the MIT License. Redistributions of the source code must retain the copyright notice.

统计信息

  • 总下载量: 926.66k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 527
  • 点击次数: 12
  • 依赖项目数: 19
  • 推荐数: 1

GitHub 信息

  • Stars: 523
  • Watchers: 56
  • Forks: 290
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-09-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固