# LMS - [LMS](https://theteam-13fc7f49.mintlify.app/index.md): Welcome to the LMS platform documentation. - [Platform Overview](https://theteam-13fc7f49.mintlify.app/introduction/overview-1.md): High-level overview of the LMS platform architecture and workflow. - [Key Features](https://theteam-13fc7f49.mintlify.app/introduction/key-features-1.md): Main features and capabilities of the LMS platform. - [User Roles](https://theteam-13fc7f49.mintlify.app/introduction/user-roles-1.md): Overview of user roles, responsibilities, and permissions within the LMS platform. - [access-and-authentication](https://theteam-13fc7f49.mintlify.app/getting-started/access-and-authentication.md) - [environment-setup](https://theteam-13fc7f49.mintlify.app/getting-started/environment-setup.md) - [first-steps](https://theteam-13fc7f49.mintlify.app/getting-started/first-steps.md) - [global-architecture](https://theteam-13fc7f49.mintlify.app/system-design/global-architecture.md) - [frontend-architecture](https://theteam-13fc7f49.mintlify.app/system-design/frontend-architecture.md) - [backend-architecture](https://theteam-13fc7f49.mintlify.app/system-design/backend-architecture.md) - [database-design](https://theteam-13fc7f49.mintlify.app/system-design/database-design.md) - [Class Diagram](https://theteam-13fc7f49.mintlify.app/system-design/class-diagram.md): Every Eloquent model of the Laravel backend and how they relate: one global diagram, then a detailed view per domain. - [Use Cases & Role Permissions](https://theteam-13fc7f49.mintlify.app/system-design/use-cases-and-permissions.md): Who does what on the platform: the global use case diagram, then one permission table per role. - [authentication](https://theteam-13fc7f49.mintlify.app/modules/authentication.md) - [user-management](https://theteam-13fc7f49.mintlify.app/modules/user-management.md) - [course-management](https://theteam-13fc7f49.mintlify.app/modules/course-management.md) - [enrollment-and-progress](https://theteam-13fc7f49.mintlify.app/modules/enrollment-and-progress.md) - [assessments](https://theteam-13fc7f49.mintlify.app/modules/assessments.md) - [Overview](https://theteam-13fc7f49.mintlify.app/api-reference/overview.md): Example section for showcasing API endpoints - [Authentication and Account Endpoints (v2)](https://theteam-13fc7f49.mintlify.app/api-reference/auth.md) - [Instructor (Dashboard) Endpoints (v4)](https://theteam-13fc7f49.mintlify.app/api-reference/instructor-dashboard.md) - [Users Management Endpoints](https://theteam-13fc7f49.mintlify.app/api-reference/users.md) - [Roles API Endpoints](https://theteam-13fc7f49.mintlify.app/api-reference/roles.md) - [Companies](https://theteam-13fc7f49.mintlify.app/api-reference/companies.md): Company management endpoints: list, create, view, update (with image upload), archive, restore, and delete. - [Landing Page](https://theteam-13fc7f49.mintlify.app/api-reference/landing-page.md): Landing page configuration endpoints: fetch, update (with images), sync trainings/exams positions, manage links, featured categories, and partner companies. - [Notifications Endpoints](https://theteam-13fc7f49.mintlify.app/api-reference/notifications.md) - [Classrooms API Endpoints](https://theteam-13fc7f49.mintlify.app/api-reference/classrooms.md): List, open, create, update, archive and delete classrooms, and what each role can see of a classroom's members. - [Chatrooms API Endpoints](https://theteam-13fc7f49.mintlify.app/api-reference/chatrooms.md): A classroom's group chat: create it by e-mail, list and read conversations, send text and images, moderate, and receive messages live over Laravel Reverb. - [Certifications Endpoints (v2) ](https://theteam-13fc7f49.mintlify.app/api-reference/certifications.md) - [Vouchers Endpoints](https://theteam-13fc7f49.mintlify.app/api-reference/vouchers-endpoints.md) - [Coupons Endpoints](https://theteam-13fc7f49.mintlify.app/api-reference/coupons-endpoints.md) - [Trainings](https://theteam-13fc7f49.mintlify.app/api-reference/trainings.md) - [Trainings Export / Import](https://theteam-13fc7f49.mintlify.app/api-reference/trainings-export-import.md) - [Chapters](https://theteam-13fc7f49.mintlify.app/api-reference/chapters.md) - [Lessons](https://theteam-13fc7f49.mintlify.app/api-reference/lessons.md) - [Chapters & Lessons Export / Import](https://theteam-13fc7f49.mintlify.app/api-reference/chapters-and-lessons-export-import.md) - [Orders & Payment Endpoints (Cart, Orders, Konnect)](https://theteam-13fc7f49.mintlify.app/api-reference/orders-and-payment-endpoints.md) - [Archive, Delete, and Restore Flow](https://theteam-13fc7f49.mintlify.app/api-reference/archive-delete-and-restore-flow.md) - [File Management & Storage — API (v4)](https://theteam-13fc7f49.mintlify.app/api-reference/file-management-and-storage-api.md) - [R2 Storage Paths — where every upload goes](https://theteam-13fc7f49.mintlify.app/api-reference/r2-storage-paths.md): Every file the apps send to Cloudflare R2: the page it comes from, the endpoint, the object key the backend writes (one folder per training, classroom, quiz or chatroom slug under files/, built by the backend since 01/11/2026), the owner ids the Flutter app sends, and the backend function behind eac… - [Quizzes & Exams Endpoints (v4)](https://theteam-13fc7f49.mintlify.app/api-reference/quizzes-and-exams-endpoints.md) - [Quizzes & Exams — Progress Tracking API](https://theteam-13fc7f49.mintlify.app/api-reference/quizzes-and-exams-progress-tracking-api.md) - [Quizzes & Exams — Export & Import Endpoints](https://theteam-13fc7f49.mintlify.app/api-reference/quizzes-and-exams-export-and-import-endpoints.md) - [[Suggestions] User Attempts Fix (v4)](https://theteam-13fc7f49.mintlify.app/api-reference/suggestions-user-attempts-fix.md) - [History / Activity log API](https://theteam-13fc7f49.mintlify.app/api-reference/history-activity-log-api.md) - [User Progress & Gamification (v1)](https://theteam-13fc7f49.mintlify.app/api-reference/user-progress-and-gamification-v1.md) - [User Progress & Gamification (v2)](https://theteam-13fc7f49.mintlify.app/api-reference/user-progress.md) - [Online Payment System - Flouci](https://theteam-13fc7f49.mintlify.app/api-reference/online-payment-system-flouci.md) - [Authed user, "My Exam Simulator" and exam attempts — how the data actually flows](https://theteam-13fc7f49.mintlify.app/api-reference/student-boot-payload.md) - [frontend-guide](https://theteam-13fc7f49.mintlify.app/development-guide/frontend-guide.md) - [HTML Editors & Viewers — where rich text is written and shown](https://theteam-13fc7f49.mintlify.app/development-guide/html-editors-and-viewers.md): Every rich-text editor and HTML viewer of the Flutter app (web and mobile): where each one is used, the package behind it, the format it saves, and how YouTube embeds play on mobile (the "Error 153" fix). - [Help Center links — where each topic card goes](https://theteam-13fc7f49.mintlify.app/development-guide/help-center-links.md): The JSON file that sets the link of every Help Center topic card, for the student, admin, instructor and content manager Help Centers: routes, keys, how to change a link, and the fallback rules. - [backend-guide](https://theteam-13fc7f49.mintlify.app/development-guide/backend-guide.md) - [coding-standards](https://theteam-13fc7f49.mintlify.app/development-guide/coding-standards.md) - [branching-strategy](https://theteam-13fc7f49.mintlify.app/development-guide/branching-strategy.md) - [AI Assistant Integration](https://theteam-13fc7f49.mintlify.app/ai_assistant_integration.md): How LMS_ai_bot (the FastAPI RAG chatbot) plugs into LMS_Backend (Laravel) and LMS_Frontend (Flutter): pairing keys, student access tokens, training catalog sync, quotas, and the phased plan. - [# Plan - Instant Chat (Taken from another laravel application [profelite] )](https://theteam-13fc7f49.mintlify.app/plan-instant-chat.md) - [environments](https://theteam-13fc7f49.mintlify.app/deployment/environments.md) - [build-and-release](https://theteam-13fc7f49.mintlify.app/deployment/build-and-release.md) - [Monitoring & Logs (laravel telescope & custom storage inspector)](https://theteam-13fc7f49.mintlify.app/deployment/monitoring-and-logs.md): Watching the production database size, removing the Laravel Telescope leftovers found on 09/10/2026, the read-only local storage inspector page, and where the backend logs are. - [Chatrooms Setup Guide](https://theteam-13fc7f49.mintlify.app/deployment/chatrooms-setup.md): Everything a backend server needs for the classroom chatrooms: code, .env, database, Laravel Reverb for live messages, nginx, uploads, scheduler, Redis (not needed) and the Flutter side, with every command. - [Released Versions & Done Tasks](https://theteam-13fc7f49.mintlify.app/changelog/released-versions-and-done-tasks.md): What the team delivered on the web and mobile apps from 26/09 to 15/10/2026, in plain language, and what is being tested now. - [Changelog](https://theteam-13fc7f49.mintlify.app/changelog/changelog.md): Every major platform update with full details — what changed, why, the files involved and the caveats — compiled from LMS_Frontend/major_code_updates.md and clean_up.md. - [Suggested Changes](https://theteam-13fc7f49.mintlify.app/changelog/suggested-changes.md): Future aspirations, planned refactors and advisory work — backend, frontend, clean-up and performance — collected from the frontend logs. - [Issues & Errors](https://theteam-13fc7f49.mintlify.app/changelog/issues-and-errors.md): Known bugs and open issues across backend and frontend, grouped by priority — mirror of the known-issues table in LMS_Frontend/major_code_updates.md. - [Frontend Clean-Up (Flutter)](https://theteam-13fc7f49.mintlify.app/clean-up/frontend.md): The full repository clean-up plan for LMS_Frontend — repo weight, the executed dead-code and asset deletions, the 2026-10-08 package bump with the complete installed-vs-latest table and why some packages are held back, the stale-package replacement plan, and the app speed suggestions. - [Backend Clean-Up (Laravel)](https://theteam-13fc7f49.mintlify.app/clean-up/backend.md): The repository clean-up plan for LMS_Backend — repo weight, duplicated/abandoned composer packages with versions, code-style debt, and the full backend updates & optimizations backlog. - [Auth User Optimize — Slim GET /auth/user](https://theteam-13fc7f49.mintlify.app/clean-up/auth-user-optimize.md): Plan to cut the student boot payload of GET /auth/user from 1.5 MB to ~20 KB — what the payload holds today, why it is slow, the target shape, the backend / frontend / docs work, rollout order and how to measure it. - [Auth User Super Fast — Login → dashboard in one round trip](https://theteam-13fc7f49.mintlify.app/clean-up/auth-user-super-fast.md): Proposal to make the Flutter web app fast from the first byte to the painted dashboard: the app's first load (bundles, 15 fonts, images: measured), then the Login → dashboard transition (8 server round trips today, 1 after), with a phase-by-phase before / after table and the ranked backend / fronten… - [Quiz in Chapters — Multiple Quizzes & Lesson Types](https://theteam-13fc7f49.mintlify.app/clean-up/quiz-in-chapters.md): Several quizzes per chapter (the 2nd quiz used to silently turn the 1st into an exam) and a video / document lesson type for icon variants — both done. Root cause, design decisions, backend, docs and frontend checklists, rollout and acceptance criteria. - [AI Assistant Integration — LMS_ai_bot × Backend × Frontend](https://theteam-13fc7f49.mintlify.app/clean-up/ai-assistant-integration.md): Plan to connect the LMS_ai_bot RAG service to the Laravel backend and the Flutter course player: a per-training token that Laravel only gives to owners, a service-key training catalog for the bot, slug-keyed knowledge feeding, the Flutter wiring, rollout and acceptance checks. - [Classroom Chatrooms](https://theteam-13fc7f49.mintlify.app/clean-up/chatrooms.md): Task 6: a live group chat per classroom (Laravel Reverb + Flutter), what shipped, how it was verified, and the server steps left. - [Wkhtmltopdf removal — every PDF on dompdf](https://theteam-13fc7f49.mintlify.app/clean-up/wkhtmltopdf-removal.md): Why and how the backend dropped wkhtmltopdf (laravel-snappy) on 24/10/2026: the admin dashboard PDF now renders with dompdf, a pure-PHP composer package, and how to uninstall the wkhtmltopdf binaries from the servers and developer machines. - [Staff Navigation Speed — sidebar lag and the 13-inch minimum](https://theteam-13fc7f49.mintlify.app/clean-up/staff-navigation-speed.md): Why the staff pages (admin, instructor, content manager, super admin) feel slow when moving through the sidebar, measured before and after the staff typography update, and the plan to fix it: hidden pages that keep their size, no automatic sidebar collapse, fixed sidebar font sizes, and a 13-inch mi… This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.