Admin Dashboard

Platform stats, user management, role editing. Protected by middleware on both frontend and backend.

What's Included

Platform Stats

Total users, new users today/this week, verified accounts, subscription breakdown by plan.

User Management

Paginated list with search and filters. View user details, edit roles, toggle email verification.

Activity Feed

Real-time log of user actions: logins, registrations, profile updates, plan changes.

Role System

Type-safe PHP enum (Role::Admin, Role::User). Easily extendable.


Access Control

Admin routes are protected at every layer:

Tip

Seed the database with php artisan db:seed to get a pre-configured admin account: admin@stacktura.dev / password


API Endpoints

MethodEndpointDescription
GET/api/admin/statsPlatform statistics
GET/api/admin/usersPaginated user list (search + filter)
GET/api/admin/users/{id}User detail
PATCH/api/admin/users/{id}/roleUpdate role
PATCH/api/admin/users/{id}/verificationToggle email verification
GET/api/admin/activityActivity feed (paginated)
Google OAuth Internationalization

Documentation

Ready to build your SaaS?

Full source code, all modules, lifetime updates.

Get Stacktura — $249