motor-cms / motor-admin
Motor admin package
2026.20.6
2026-04-30 15:12 UTC
Requires
- php: ^8.4
- ext-intl: *
- kalnoy/nestedset: ^7.0
- kra8/laravel-snowflake: ^v2.3
- laravel/horizon: ^5.30
- laravel/sanctum: ^4.0
- laravel/scout: ^11.0
- motor-cms/motor-core: ^4.0 || >=2025.0.0
- olssonm/l5-very-basic-auth: ^7.1
- spatie/laravel-activitylog: ^5.0
- spatie/laravel-collection-macros: ^8.0
- spatie/laravel-permission: ^7.0
- wildside/userstamps: ^4.0
Requires (Dev)
- pestphp/pest: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- dev-production
- 2026.20.6
- 2026.20.5
- 2026.20.4
- 2026.20.3
- 2026.20.2
- 2026.20.1
- 2026.20.1-RC1
- 2026.20.0
- 2026.20.0-RC1
- 2026.19.9-RC1
- 2026.19.8-RC1
- 2026.19.7-RC1
- 2026.19.6-RC1
- 2026.19.5-RC1
- 2026.19.4-RC1
- 2026.19.3-RC1
- 2026.19.2-RC1
- 2026.19.2-beta10
- 2026.19.1-RC1
- 2026.19.1-beta10
- 2026.19.0-RC1
- 2026.19.0-beta10
- 2026.18.4-RC1
- 2026.18.4-beta0
- 2026.18.3
- 2026.18.3-RC1
- 2026.18.3-beta0
- 2026.18.2
- 2026.18.2-RC1
- 2026.18.2-beta0
- 2026.18.2-alpha
- 2026.18.1-RC1
- 2026.18.1-beta0
- 2026.18.1-alpha
- 2026.18.0-RC1
- 2026.18.0-beta10
- 2026.18.0-beta0
- 2026.18.0-alpha
- 2026.17.2-beta10
- 2026.17.1-RC1
- 2026.17.1-beta10
- 2026.17.0-RC1
- 2026.17.0-beta10
- 2026.16.6-beta10
- 2026.16.5-beta10
- 2026.16.4-beta10
- 2026.16.3-beta10
- 2026.16.2-beta10
- 2026.16.1-beta10
- 2026.16.1-beta0
- 2026.16.0
- 2026.16.0-beta10
- 2026.16.0-beta0
- 2026.15.0-RC1
- 2026.14.3-beta0
- 2026.14.2-beta0
- 2026.14.1-beta0
- 2026.14.0-beta10
- 2026.14.0-beta0
- 2026.13.2-beta10
- 2026.13.1-beta10
- 2026.13.0-beta10
- 2026.12.10-beta0
- 2026.12.9-beta0
- 2026.12.8-beta0
- 2026.12.7-beta0
- 2026.12.6-beta0
- 2026.12.5
- 2026.12.5-beta0
- 2026.12.4-beta0
- 2026.12.3-beta0
- 2026.12.2-beta0
- 2026.12.1-beta0
- 2026.12.0-beta0
- 2026.11.20-beta0
- 2026.11.19-beta0
- 2026.11.18-beta0
- 2026.11.17-beta0
- 2026.11.16-beta0
- 2026.11.15-beta0
- 2026.11.14-beta0
- 2026.11.13-beta0
- 2026.11.12-beta0
- 2026.11.11-beta0
- 2026.11.10-beta0
- 2026.11.9-beta0
- 2026.11.8-beta0
- 2026.11.7-beta0
- 2026.11.6-beta0
- 2026.11.5-beta0
- 2026.11.4-beta0
- 2026.11.3-RC1
- 2026.11.3-beta0
- 2026.11.2-RC1
- 2026.11.2-beta0
- 2026.11.1-RC1
- 2026.11.1-beta0
- 2026.11.0-RC1
- 2026.11.0-beta0
- 2026.10.1
- 2026.10.1-RC1
- 2026.10.0-RC1
- 2026.9.24
- 2026.9.23
- 2026.9.22
- 2026.9.21-RC1
- 2026.9.20-RC1
- 2026.9.19-RC1
- 2026.9.18-RC1
- 2026.9.17-RC1
- 2026.9.16-RC1
- 2026.9.15-RC1
- 2026.9.14-RC1
- 2026.9.13-RC1
- 2026.9.12-RC1
- 2026.9.11-RC1
- 2026.9.10-RC1
- 2026.9.9-RC1
- 2026.9.8-RC1
- 2026.9.7-RC1
- 2026.9.6-RC1
- 2026.9.5-RC1
- 2026.9.4-RC1
- 2026.9.3-RC1
- 2026.9.2-RC1
- 2026.9.1-RC1
- 2026.9.0-RC1
- 2026.8.10-RC1
- 2026.8.9-RC1
- 2026.8.8-RC1
- 2026.8.7-RC1
- 2026.8.6-RC1
- 2026.8.5-RC1
- 2026.8.4-RC1
- 2026.8.3-RC1
- 2026.8.2-RC1
- 2026.8.1-RC1
- 2026.8.0
- 2026.8.0-RC1
- 2026.7.1
- 2026.7.0
- 2026.7.0-RC1
- 2026.6.3
- 2026.6.0-RC1
- 2026.6.0-beta3
- 2026.5.4-RC
- 2026.5.3-RC
- 2026.5.2-RC
- 2026.5.1-RC1
- 2026.5.1-RC
- 2026.5.0
- 2026.5.0-RC1
- 2026.5.0-RC
- 2026.4.11-RC
- 2026.4.10-RC
- 2026.4.9-RC
- 2026.4.8-RC
- 2026.4.7-RC
- 2026.4.6-RC
- 2026.4.5-RC
- 2026.4.4-RC
- 2026.4.3-RC
- 2026.4.2-RC
- 2026.4.1-RC
- 2026.4.0-RC
- 2026.2.0
- 2025.50.2-RC
- 2025.50.1-RC
- 2025.50.0-RC
- 2025.50.0-alpha
- 4.14.0
- 4.12.2
- 4.11.4
- 4.10.2
- 4.9.7
- 4.8.1
- 4.7.1
- 4.6.0
- 4.5.0
- 4.4.0
- 4.2.0
- 4.1.3
- 4.0.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.8.1
- 3.7.3
- 3.6.1
- 3.5.2
- 3.4.3
- 3.3.0
- 3.2.0
- 3.1.1
- 3.0.1
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.7
- 2.8.2
- 2.7.8
- 2.6.0
- 2.5.16
- 2.4.95
- 2.3.90
- 2.2.2
- 2.1.5
- 2.0.13
- dev-staging
- dev-develop
- dev-test-10
This package is auto-updated.
Last update: 2026-05-13 18:42:27 UTC
README
Administration package for the Motor CMS framework. Provides user management, role-based access control, authentication, and core administrative functionality.
Installation
composer require motor-cms/motor-admin
Features
- User Management -- CRUD operations for user accounts
- Role-Based Access Control -- Powered by Spatie Laravel Permission
- Authentication -- Laravel Sanctum token-based auth
- Multi-Tenant Clients -- Client organizations with domain management
- Categories -- Hierarchical category trees (nested set)
- Configuration -- Key-value config variable storage per client
- Email Templates -- Managed email templates with sending capability
- AI System Prompts -- AI assistant prompt management
- Languages -- Language management
Models
| Model | Description |
|---|---|
User |
User accounts with roles and permissions |
Role |
RBAC roles (Spatie) |
Permission |
Individual permissions (Spatie) |
PermissionGroup |
Permission grouping for UI |
Client |
Multi-tenant client organizations |
Domain |
Client domains |
Category |
Hierarchical categories |
Language |
Available languages |
ConfigVariable |
Key-value configuration |
EmailTemplate |
Email template management |
AISystemPrompt |
AI assistant prompts |
API Endpoints
All endpoints use Sanctum authentication and snake_case naming:
/api/users
/api/roles
/api/permissions
/api/permission_groups
/api/clients
/api/domains
/api/categories
/api/category_trees
/api/languages
/api/config_variables
/api/email_templates
/api/ai_system_prompts
Package Structure
src/
├── Console/ # Artisan commands
├── Email/ # Email handling classes
├── Helpers/ # Helper functions
├── Http/ # Controllers, Requests, Resources
├── Models/ # Eloquent models
├── Policies/ # Authorization policies
├── Providers/ # Service providers
├── Rules/ # Custom validation rules
├── Services/ # Business logic (BaseService + domain services)
└── Traits/ # Shared traits
Dependencies
motor-cms/motor-corespatie/laravel-permissionlaravel/sanctumlaravel/fortify