How cyaxaress/lms works
This is a modular Laravel learning-management system. Its principal workflow is a student discovering a course, enrolling for free or paying for it, then accessing course lessons; teachers and administrators manage courses and users through separate modules. The graph also preserves documented capabilities such as categories, discounts, comments, tickets, media, roles and permissions, and the dashboard. Several modules are represented from the file tree and README only; their internal calls are not asserted without source evidence.
Main entry points: CourseController.php Course management · Course.php Courses and lessons · UserController.php User management · User.php User accounts
Components 28
Courses and learning
- Course management
modules/Cyaxaress/Course/Http/Controllers/CourseController.php - Course data
modules/Cyaxaress/Course/Repositories/CourseRepo.php - Courses and lessons
modules/Cyaxaress/Course/Models/Course.php - Seasons and lessons
modules/Cyaxaress/Course/Models/Season.php - Lesson management
modules/Cyaxaress/Course/Http/Controllers/LessonController.php - Category management
modules/Cyaxaress/Category/Http/Controllers/CategoryController.php - Categories
modules/Cyaxaress/Category/Models/Category.php
Payments and media
- Payment workflow
modules/Cyaxaress/Payment/src/Services/PaymentService.php - Payments
modules/Cyaxaress/Payment/src/Models/Payment.php - Payment gateway
modules/Cyaxaress/Payment/src/Gateways/Gateway.php - Zarinpal integration
modules/Cyaxaress/Payment/src/Gateways/Zarinpal/Zarinpal.php - Discounts
modules/Cyaxaress/Discount/src/Models/Discount.php - Media file service
modules/Cyaxaress/Media/Services/MediaFileService.php - Media files
modules/Cyaxaress/Media/Models/Media.php
Users and permissions
- User management
modules/Cyaxaress/User/Http/Controllers/UserController.php - User accounts
modules/Cyaxaress/User/Models/User.php - Login and registration
modules/Cyaxaress/User/Http/Controllers/Auth/LoginController.php - User routes
modules/Cyaxaress/User/Routes/user_routes.php - Role management
modules/Cyaxaress/RolePermissions/Http/Controllers/RolePermissionsController.php - Roles and permissions
modules/Cyaxaress/RolePermissions/Models/Role.php
Community and support
- Comment moderation
modules/Cyaxaress/Comment/src/Http/Controllers/CommentController.php - Course comments
modules/Cyaxaress/Comment/src/Models/Comment.php - Ticket support
modules/Cyaxaress/Tickets/src/Http/Controllers/TicketController.php - Tickets and replies
modules/Cyaxaress/Tickets/src/Models/Ticket.php
Site and administration
- Public course site
modules/Cyaxaress/Front/src/Http/Controllers/FrontController.php - Admin dashboard
modules/Cyaxaress/Dashboard/Http/Controllers/DashboardController.php - Homepage slider
modules/Cyaxaress/Slider/src/Http/Controllers/SlideController.php
Other components
- Student
Connections 23
- Student → Public course site: browses courses
- Course management → Course data: stores and queries
modules/Cyaxaress/Course/Http/Controllers/CourseController.php - Course management → Categories: loads categories
modules/Cyaxaress/Course/Http/Controllers/CourseController.php - Course management → Media file service: uploads images
modules/Cyaxaress/Course/Http/Controllers/CourseController.php - Course management → Payment workflow: generates payment
modules/Cyaxaress/Course/Http/Controllers/CourseController.php - Course management → Payment gateway: redirects payment
modules/Cyaxaress/Course/Http/Controllers/CourseController.php - Courses and lessons → Categories: belongs to
modules/Cyaxaress/Course/Models/Course.php - Courses and lessons → Discounts: calculates discounts
modules/Cyaxaress/Course/Models/Course.php - Course management → Lesson management
- User routes → User management: routes requests
modules/Cyaxaress/User/Routes/user_routes.php - User routes → Login and registration: routes authentication
modules/Cyaxaress/User/Routes/user_routes.php - User management → User accounts: updates accounts
modules/Cyaxaress/User/Http/Controllers/UserController.php - User management → Media file service: uploads photos
modules/Cyaxaress/User/Http/Controllers/UserController.php - Role management → Roles and permissions: manages roles
modules/Cyaxaress/RolePermissions/Http/Controllers/RolePermissionsController.php - User accounts → Courses and lessons: relates users
modules/Cyaxaress/User/Models/User.php - User accounts → Payments: relates payments
modules/Cyaxaress/User/Models/User.php - Media files → Media file service: deletes files
modules/Cyaxaress/Media/Models/Media.php - Admin dashboard → Payments: reads payments
modules/Cyaxaress/Dashboard/Http/Controllers/DashboardController.php - Student → Comment moderation: submits comments
- Student → Ticket support: requests support
- Student → Payment workflow: purchases courses
- Public course site → Courses and lessons: presents courses
- Payment gateway → Zarinpal integration: supports gateway