sunrice / account
Site accounts for Sunrice CMS: registration, sign-in, password reset, email verification, a My Account area other plugins extend, account emails, roles and settings.
Requires
- php: ^8.4
- illuminate/contracts: ^13.0
- illuminate/support: ^13.0
- laravel/socialite: ^5.31
- spatie/laravel-package-tools: ^1.93
- sunrice/admin: ^0.8.1
- sunrice/cms: ^0.8.1
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- orchestra/testbench: ^11.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-laravel: ^4.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-26 17:34:58 UTC
README
Site accounts for Sunrice CMS: registration, sign-in (password, emailed code, Google), password reset, email verification, a My Account area other plugins extend, account emails to members and staff, roles and an account settings page. Sunrice Commerce builds its customer accounts on it.
Requirements: PHP 8.4+, Laravel 13, Sunrice 0.8 (sunrice/admin and sunrice/cms).
Work in progress: see PLAN.md for what's built and what's next.
Installation
composer require sunrice/account php artisan migrate php artisan sunrice:roles
Add the plugin after the CMS in your panel provider:
$panel->plugin(CmsPlugin::make())->plugin(AccountPlugin::make());
Your user model needs spatie/laravel-permission's HasRoles (as Sunrice's does) and Notifiable.
Developer docs: docs/, also shown in the admin under Help → Developer docs.