fix(audit): resolve all runtime 500 errors found in full platform audit
- Install laravel/sanctum (fixes all 13 API route files that use auth:sanctum)
- Add HasApiTokens trait to User model
- Create missing sidebar partials (admin-sidebar, creator-sidebar) fixing 8 pages
- Add missing DB columns: last_active_at, reputation_tier (creator_profiles), admin_notes (projects)
- Fix ForceProjectStatusRequest validation to match DB CHECK constraint
- Fix Submission::revisionRequest() relationship type (belongsTo -> hasOne)
- Add eager-load for company+creator in project show controllers
- Create missing InvitationCancelled event class
- Add missing translation keys (en+ar) for sidebar navigation
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
| ... | @@ -10,6 +10,7 @@ | ... | @@ -10,6 +10,7 @@ |
| "blade-ui-kit/blade-icons": "^1.6", | "blade-ui-kit/blade-icons": "^1.6", | ||
| "intervention/image": "^3.0", | "intervention/image": "^3.0", | ||
| "laravel/framework": "^11.31", | "laravel/framework": "^11.31", | ||
| "laravel/sanctum": "^4.3", | |||
| "laravel/tinker": "^2.9", | "laravel/tinker": "^2.9", | ||
| "livewire/livewire": "^3.0" | "livewire/livewire": "^3.0" | ||
| }, | }, | ||
| ... | ... |
config/sanctum.php
0 → 100644
Please register or sign in to comment