Vanguard 是 PHP 应用程序,用 Laravel PHP 框架编写,允许网站所有者快速添加和启用其网站的身份验证、授权和用户管理。它按照最新的安全和代码标准设计,并为高可用性网站做好了准备。虽然它是用 Laravel 编写的,但它可用于为任何 PHP 驱动的网站提供安全登录、身份验证、授权和完整的用户管理。Vanguard 还附带了完整记录的 JSON API,可让您轻松地从移动(或任何其他)应用程序中验证用户。
它带有近 300 个自动化测试(功能和单元),涵盖了应用程序和 API 的所有重要部分,并确保其可维护性和稳定性。
版本 9.1.0
特征
- 安全的用户注册和登录
- 使用 Facebook、Twitter 和 Google+ 进行社交认证
- 密码重置
- 双重身份验证
- 登录时记住我功能
- 使用电子邮件或用户名登录
- 注册时 Google reCAPTCHA
- 身份验证限制 (在几次错误登录尝试后锁定用户帐户)
- 交互式仪表板
- 无限数量的用户角色
- 强大的管理面板
-
权限数量不受限制
- 从管理界面管理权限
- 为角色分配权限
- 轻松检查用户是否有权执行某些作
- JSON API 围绕 Vanguard 构建任何类型的应用程序
- 使用安装向导进行超级简单的安装
- 用户活动日志
- 头像上传 作物 特征
- 使用 Bootstrap 4 构建
- 活动会话管理 (查看并管理您的所有活动会话)
- 管理员可以 模拟用户
- 完全的 Unicode 支持
- 客户端和服务器端表单验证
- 可从设置部分完全自定义
- 完整而详细的文档
- 完全面向对象和注释的 PHP 和 JavaScript 代码。
- 本地化支持 – 将应用程序翻译成任何语言 (英语、塞尔维亚语和德语 包括翻译)
- 在 PHP 8.2.0+ 上运行
- 灵活的插件系统
安全
- CSRF 保护 – 所有形式都包含 CSRF 令牌
- 会话保护 – 高度安全的 Laravel 会话机制
- 高度安全的单向密码哈希
服务器要求
- PHP >= 8.2.0
- BCMath PHP 扩展
- OpenSSL PHP 扩展
- PDO PHP 扩展
- Mbstring PHP 扩展
- Tokenizer PHP 扩展
- Ctype PHP 扩展
- XML PHP 扩展
- JSON PHP 扩展
- GD PHP 扩展
- Fileinfo PHP 扩展
演示和文档
- 演示链接: https://demo.vanguardapp.io
- 管理员凭证
- 用户名: 管理
- 密码: 管理员123
- 文档和支持: https://milos.support-hub.io/
折扣通知
订阅以接收有关折扣和更新的通知: https://vanguardapp.io/#subscribe
更改日志
查看文档 升级指南.
2025 年 4 月 23 日 – 版本 9.1.0
Added ability to force users to change their password on next login Added user approval support (if enabled, users must be approved by admin to be able to log in) Fixed redirect to a desired page after social login
2024 年 7 月 31 日 – 版本 9.0.0
Upgraded to Laravel 11 Replaced Authy with standard QR Code based 2FA Created a custom blade component for app logo for easier customization
2024 年 2 月 28 日 – 版本 8.1.1
Fixed an issue in the installation wizard
2024 年 2 月 21 日 – 版本 8.1.0
Add support for limiting the number of active sessions per user Add the ability to change the locale from the UI Fixed redirect to a custom page after 2FA Fixed issue with being able to enable 2FA for the same phone number for two different users Extracted default roles to constants to make it easier for users who want to change the names of default roles Extracted some language lines to a language file Improved password reset flow to show success message on forgot password even if there is no user with that email Improved the installation flow to check if foreign keys are enabled and be more resilient if some requirements are not met Converted UserStatus to a regular PHP enum class Added pint for consistent code formatting
2023 年 3 月 17 日 – 版本 8.0.0
Upgraded to Laravel 10 which supports PHP 8.2 Minimum required PHP version is now 8.1 Updated all third party packages to the latest stable versions
2022 年 3 月 16 日 – 版本 7.0.0
Added support for PHP 8.1 Upgraded to Laravel 9 Updated all third party packages to the latest stable versions
2021 年 8 月 12 日 – 版本 6.1.0
Added support for PHP 8 Updated all third party packages to the latest stable versions Fixed invalidate session redirect issue Fixed german translation issues Fixed bg-color issue for switch components Fixed pagination styling issue Update `redirectIfAuthenticated` trait to respect the `to` parameter
2020 年 10 月 20 日 – 版本 6.0.0
Upgraded to Laravel 8 Fixed api registration issue Fixed email confirmation routes Fix field type for 2FA phone number Fix impersonation route middlewares
2020 年 4 月 8 日 – 版本 5.0.1
Fixed installation wizard
2020 年 4 月 5 日 – 版本 5.0.0
Fixed custom login redirect issue
Upgraded to Laravel 7
Switched to Laravel Sanctum for API authentication
Replaced API transformers with Laravel's API Resources
Changed API response format
2019 年 9 月 16 日 – 版本 4.0.1
Fixed password reset email issue
Fixed avatar upload issue
Updated registration and email verification flow
2019 年 9 月 13 日 – 版本 4.0.0
Added Plugin Support
Upgraded to Laravel 6
2019 年 4 月 1 日 – 版本 3.2.1
Fix installation issue
2019 年 3 月 30 日 – 版本 3.2.0
Upgraded to Laravel 5.8
Replaced deprecated Larvel str_ and array_ helper functions
2018 年 10 月 30 日 – 版本 3.1.0
Upgraded to Laravel 5.7
Fixed issue with API when country_id field is null
Fixed Notifications Settings update bug
Improved Two-Factor Authentication by adding one more step for phone verification
Added Impersonate feature
2018 年 6 月 14 日 – 版本 3.0.1
Minor bug-fix release to address a few mostly UI related bugs. List of changed files available inside the upgrade guide.
2018 年 5 月 17 日 – 版本 3.0.0
Complete frontend re-write with Bootstrap 4
Remove additional step for Twitter authentication since Twitter can provide an email now
Update sizes of the avatars retreived during social authentication
2018 年 3 月 13 日 – 版本 2.2.0
Upgrade to Laravel 5.6
Fix issue with Authy secret key and config caching
Fix issues with registration history chart
Fix installation issue on PHP 7.2
2017 年 12 月 19 日 – 版本 2.1.1
Added ability to configure dates format across the app
Added automatic session invalidation and log out of the user if he is banned by the administrator
Added device info on session list page
Updated dashboard chart to display data in last 365 days (instead of for current year)
Extracted model factories to different files (important for testing purposes only)
Fixed autoload include issue for existing websites
2017 年 11 月 8 日 – 版本 2.1.0
Upgrade Laravel to version 5.5
Fix glitch on User Acivity search
2017 年 9 月 14 日 – 版本 2.0.2
Fix avatar update issue when admin is updating avatar for some other user
Disable API authentication for banned and unconfirmed users
Fix country update issue which occures on some MySQL versions
2017 年 8 月 25 日 – 版本 2.0.1
Fix installation issues from previous version
Update documentation
2017 年 8 月 23 日 – 版本 2.0.0
Add fully tested JSON API
Fix some minor glitches related to translation
2017 年 5 月 1 日 – 版本 1.3.3
Fix incompatibility issues between laravel-jsvalidation package and Laravel Framework version 5.4.19+
Fix issue where country is set to null after user logs in
2017 年 4 月 12 日 – 版本 1.3.2
Removed zizaco/entrust package and replaced with Vanguard's native mechanism for handling roles and permissions
$user->can() method now use Laravel's default authorization mechanism. For checking if user has permission defined by Vanguard, you should use $user->hasPermission('...').
2017 年 3 月 6 日 – 版本 1.3.1
Fixed installation issue
Fixed issue with FORCE_SSL
2017 年 2 月 18 日 – 版本 1.3.0
Laravel 5.4 upgrade
IMPORTANT: Fixed potential security issue with user avatar upload
Fixed issue to don't allow banned users to log in via social networks
Expanded and updated automated tests to cover all bugs and issues from above
2016 年 9 月 30 日 – 版本 1.2.1
Fixed bug when creating/updating users from admin panel without selected country
Fixed small typos on delete user confirmation popup
2016 年 9 月 27 日 – 版本 1.2.0
Updated to Laravel 5.3
InnoDB is now forced storage engine for MySQL database
Slightly improved design
E-Mail templates updated (now using Laravel 5.3 Notifications feature)
Fixed default country value
Fixed n+1 problem for activity page (added missing eager loading)
Fixed translation glitches
Added IIS configuration file
PHP 5.6.4 is now minimum PHP version required (Laravel 5.3 requirement)
PHP XML extension is now requirement (Laravel 5.3 requirement)
Updated and extended documentation
Dropped support for HHVM, since Laravel 5.3 does not support it
2016 年 3 月 30 日 – 版本 1.1.2
Add missing middleware to redirect user to install page if Vanguard is not installed
2016 年 3 月 29 日 – 版本 1.1.1
Added German translation files
Add translation for few missed strings
Fix some small bugs
2016 年 3 月 15 日 – 版本 1.1.0
Add localization support
Use social network profile image as default avatar after social auth
Fix problems with pagination while browsing search results for users and activities
Handle missing email from non-twitter social provider
2016 年 2 月 18 日 – 版本 1.0.4
Updated documentation
Added option to allow redirect to custom page after login
Disable access to login page for authenticated users
2016 年 2 月 4 日 – 版本 1.0.3
Updated documentation
Fixed css glitches
Added more tests
2016 年 1 月 25 日 – 版本 1.0.2
New design for error pages
Updated installer to require Fileinfo extension
2016 年 1 月 22 日 – 版本 1.0.1
Add missing configuration placeholder file
2016 年 1 月 21 日 – 版本 1.0.0
First release