How sadmanulhoque/lms works
This is a Laravel-based learning-management and course-commerce application. Learners browse courses, pay through a gateway, receive enrollment access, and study course content; instructors create and manage courses, while administrators manage platform settings and site content. The excerpts directly show course authoring, registration, payment callbacks, and order fulfillment. Admin, student, and broader storefront capabilities are represented from the file tree; their internal wiring was not sampled, so those links are marked unverified.
Main entry points: web.php Web routes · OrderService.php Order fulfillment · CourseController.php Course authoring · PaymentController.php Payment processing
Components 24
Identity and access
- Web routes
routes/web.php - Auth routes
routes/auth.php - Registration
app/Http/Controllers/Auth/RegisteredUserController.php - User accounts
app/Models/User.php
Course lifecycle
- Course catalog
app/Models/Course.php - Course authoring
app/Http/Controllers/Instructor/CourseController.php - Course curriculum
app/Http/Controllers/Instructor/CourseContentController.php - Chapters and lessons
app/Models/CourseChapter.php - Student learning
app/Http/Controllers/Student/MyCourseController.php - Enrollments
app/Models/Enrollment.php
Course commerce
- Course storefront
app/Http/Controllers/Frontend/HomeController.php - Cart and checkout
app/Http/Controllers/Frontend/CheckoutController.php - Payment processing
app/Http/Controllers/Frontend/PaymentController.php - SSLCommerz callbacks
app/Http/Controllers/SslCommerzPaymentController.php - SSLCommerz client
app/Library/SslCommerz/SslCommerzNotification.php - Order fulfillment
app/Service/OrderService.php - Orders and items
app/Models/Order.php
Platform operations
- Site administration
app/Http/Controllers/Admin/SettingsController.php - Site content
app/Models/Settings.php - Instructor payouts
app/Http/Controllers/Instructor/InstructorWithdrawController.php
Other components
- Learner
- Instructor
- Administrator
- Payment gateways
Connections 24
- Learner → Web routes: uses storefront
- Instructor → Web routes: uses workspace
- Administrator → Web routes: uses admin
- Web routes → Course storefront: routes to
- Web routes → Cart and checkout: routes to
- Web routes → Course authoring: routes to
- Web routes → Student learning: routes to
- Web routes → Site administration: routes to
- Auth routes → Registration: routes to
routes/auth.php - Registration → User accounts: creates account
app/Http/Controllers/Auth/RegisteredUserController.php - Course authoring → Course catalog: saves course
app/Http/Controllers/Instructor/CourseController.php - Course authoring → Chapters and lessons: loads curriculum
app/Http/Controllers/Instructor/CourseController.php - Course curriculum → Course catalog: updates course
app/Http/Controllers/Instructor/CourseContentController.php - Course storefront → Course catalog: reads courses
- Cart and checkout → Payment processing: starts payment
- Payment processing → Payment gateways: creates payment
app/Http/Controllers/Frontend/PaymentController.php - Payment processing → Order fulfillment: records paid order
app/Http/Controllers/Frontend/PaymentController.php - SSLCommerz callbacks → SSLCommerz client: validates payment
app/Http/Controllers/SslCommerzPaymentController.php - SSLCommerz callbacks → Order fulfillment: stores order
app/Http/Controllers/SslCommerzPaymentController.php - Order fulfillment → Orders and items: creates order
app/Service/OrderService.php - Order fulfillment → Enrollments: grants access
app/Service/OrderService.php - Student learning → Enrollments: checks access
- Site administration → Site content: updates settings
app/Http/Controllers/Admin/SettingsController.php - Site administration → Instructor payouts: manages payouts