Search by

sunrice / account

littleboy130491

Site accounts for Sunrice CMS: registration, sign-in, password reset, email verification, a My Account area other plugins extend, account emails, roles and settings.

v0.2.1 2026-11-26 17:34 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.