How mazensabry2712/elmullim-b works
This is a Laravel tutoring and learning platform, with APIs and an admin panel for families, students, teachers, and operators. The principal workflow is a learner or family arranging a lesson: teacher listings and availability inform a booking, payment may be initiated, and booking/session state supports delivery and attendance. Separate branches cover courses and enrollment, quizzes, messaging, and platform administration. The supplied README describes Laravel rather than this product; relationships below rely on indexed imports and sampled code, while routes and several feature implementations were not sampled.
Main entry points: MainController.php Student API · BookingService.php Booking orchestration · SessionService.php Session lifecycle · Booking.php Bookings
Components 25
Accounts and discovery
- Family accounts
app/Http/Controllers/Api/Family/AuthController.php - Student API
app/Http/Controllers/Api/Student/MainController.php - Teacher API
app/Http/Controllers/Api/Teacher/MainController.php - Teacher profiles
app/Models/Teacher.php - Family records
app/Models/Family.php - Student records
app/Models/Student.php
Learning services
- Lesson authoring
app/Http/Controllers/Api/Teacher/Lessons/LessonController.php - Lesson listings
app/Models/Lesson.php - Availability
app/Services/AvailabilityService.php - Course content
app/Http/Controllers/Api/Teacher/Courses/LectureController.php - Courses
app/Models/Course.php - Quizzes
app/Http/Controllers/Api/Student/QuizzesController.php - Session lifecycle
app/Services/SessionService.php - Lesson sessions
app/Models/Session.php - Attendance
app/Services/AttendanceService.php
Bookings and payments
- Booking requests
app/Http/Controllers/Api/BookingController.php - Booking orchestration
app/Services/BookingService.php - Bookings
app/Models/Booking.php - Course payments
app/Http/Controllers/Api/Student/MainController.php - Paymob integration
app/Http/Services/PaymobService.php - Orders
app/Models/Order.php
Communication and operations
- Admin panel
app/Http/Controllers/Panel/TeachersController.php - Chat API
app/Http/Controllers/Api/ChatController.php - Conversations
app/Models/ChatConversation.php
Other components
- Learners and teachers
Connections 24
- Learners and teachers → Family accounts: registers
- Learners and teachers → Student API: uses API
- Learners and teachers → Teacher API: uses API
- Learners and teachers → Booking requests: requests lesson
- Learners and teachers → Admin panel: manages platform
- Family accounts → Family records: authenticates
app/Http/Controllers/Api/Family/AuthController.php - Teacher API → Teacher profiles: reads profile
app/Http/Controllers/Api/Teacher/MainController.php - Lesson authoring → Availability: checks availability
app/Http/Controllers/Api/Teacher/Lessons/LessonController.php - Lesson authoring → Lesson listings: updates lessons
app/Http/Controllers/Api/Teacher/Lessons/LessonController.php - Course content → Courses: loads courses
app/Http/Controllers/Api/Teacher/Courses/LectureController.php - Student API → Courses: lists courses
app/Http/Controllers/Api/Student/MainController.php - Student API → Orders: creates payment order
app/Http/Controllers/Api/Student/MainController.php - Student API → Paymob integration: initiates payment
app/Http/Controllers/Api/Student/MainController.php - Booking requests → Booking orchestration: delegates booking
- Booking orchestration → Bookings: creates bookings
app/Services/BookingService.php - Booking orchestration → Availability: checks availability
app/Services/BookingService.php - Booking orchestration → Session lifecycle: schedules sessions
app/Services/BookingService.php - Session lifecycle → Lesson sessions: creates sessions
app/Services/SessionService.php - Session lifecycle → Bookings: updates booking state
app/Services/SessionService.php - Attendance → Bookings: records attendance
- Chat API → Conversations: loads conversations
app/Http/Controllers/Api/ChatController.php - Admin panel → Teacher profiles: manages teachers
app/Http/Controllers/Panel/TeachersController.php - Student API → Student records: reads student data
app/Http/Controllers/Api/Student/MainController.php - Family records → Student records: relates students
app/Models/Family.php