How matiasmagliano/horarios-escolares works
Horarios Escolares is a Laravel/Livewire system for managing school schedules across institutions. The principal workflow is: a user signs in, selects an active institution, administers courses, subjects, teachers and rooms, configures time blocks, then views schedule grids or manages schedule changes and generates PDFs. The README also documents permissions, space utilization and teacher-overlap alerts. Edges below are limited to relationships shown in the README or supplied excerpts and source index; unsampled Livewire and routing details are represented without inferred call chains.
Main entry points: Livewire Administration panels · PdfController.php PDF generation · AuthenticatedSessionController.php Authentication · CambioHorario.php Schedule changes
Components 25
Access & institutions
- Authentication
app/Http/Controllers/Auth/AuthenticatedSessionController.php - Institution selection
app/Http/Controllers/InstitucionSeleccionController.php - Active institution context
app/Support/Instituciones/InstitucionContext.php - Institution and membership
app/Models/Institucion.php - Roles and permissions
app/Support/Permissions
School administration
- Administration panels
app/Livewire - Courses and subjects
app/Models/Curso.php - Teachers
app/Models/Docente.php - Physical spaces
app/Models/EspacioFisico.php - Institution-scoped records
app/Models/Concerns/BelongsToInstitucion.php
Scheduling
- Block templates
app/Support/Horarios/BloqueHorarioTemplateManager.php - Schedule blocks
app/Models/BloqueHorario.php - Block configuration
app/Models/BloqueHorarioConfig.php - Base schedules
app/Models/HorarioBase.php - Course schedule view
app/Livewire/HorarioCurso.php - Course grid builder
app/Support/Horarios/HorarioCursoGridBuilder.php - Space utilization grid
app/Support/Horarios/UtilizacionEspaciosGridBuilder.php
Schedule changes
- Schedule change workflow
app/Livewire/CambioHorario.php - Schedule changes
app/Models/CambioHorario.php - Change details
app/Models/CambioHorarioDetalle.php
Reports & alerts
- PDF generation
app/Http/Controllers/PdfController.php - Teacher overlap alerts
app/Support/Dashboard/DocenteSuperposicionDetector.php - Course assignment dashboard
app/Support/Dashboard/CursoAsignacionDetector.php - Pending change dashboard
app/Support/Dashboard/CambioHorarioPendientesDetector.php
Other components
- User
Connections 22
- User → Authentication: signs in
- Authentication → Institution selection: routes when needed
app/Http/Controllers/Auth/AuthenticatedSessionController.php - Authentication → Institution and membership: loads memberships
app/Http/Controllers/Auth/AuthenticatedSessionController.php - Institution selection → Active institution context: sets active institution
- Active institution context → Institution-scoped records: scopes records
app/Models/Concerns/BelongsToInstitucion.php - Institution and membership → Block configuration: owns configurations
app/Models/Institucion.php - Block templates → Block configuration: writes configurations
app/Support/Horarios/BloqueHorarioTemplateManager.php - Block templates → Schedule blocks: creates blocks
app/Support/Horarios/BloqueHorarioTemplateManager.php - Course schedule view → Course grid builder: builds schedule
- PDF generation → Course grid builder: builds course grid
app/Http/Controllers/PdfController.php - PDF generation → Space utilization grid: builds space grid
app/Http/Controllers/PdfController.php - PDF generation → Schedule changes: loads and numbers
app/Http/Controllers/PdfController.php - Schedule change workflow → Schedule changes: manages changes
app/Livewire/CambioHorario.php - Schedule changes → Change details: queries details
app/Models/CambioHorario.php - User → Administration panels: administers school data
- Administration panels → Courses and subjects: manages courses
app/Livewire/CambioHorario.php - Administration panels → Teachers: manages teachers
app/Livewire/CambioHorario.php - Administration panels → Physical spaces: manages spaces
- User → Roles and permissions: access governed by
- User → Teacher overlap alerts: reviews alerts
- User → Course assignment dashboard: reviews dashboard
- User → Pending change dashboard: reviews dashboard