How kizo19/kc_sma works
This is a French-language school-management web application covering school administration, enrollment, student records, fees and payments, teaching workflows, and reporting. The principal workflow is school staff enrolling a student, associating the student with a class and parent, then managing fees and payments; role-based access and school subscriptions provide the surrounding administration. The README contains no usable product description, so capabilities are inferred from the repository tree and sampled source. Unsampled controller routing and several feature implementations are represented only where their paths are clear; uncertain links are omitted or marked dashed.
Main entry points: Router.php Request router · InscriptionsController.php Enrollment · EcolesController.php School administration · PaiementsController.php Payments
Components 24
Access and schools
- Authentication and roles
app/Core/Auth.php - User accounts
app/Models/User.php - Role factory
app/Entities/RoleFactory.php - School administration
app/Controllers/EcolesController.php - Schools and subscriptions
app/Models/Ecole.php
School operations
- Dashboard
app/Controllers/DashboardController.php - Enrollment
app/Controllers/InscriptionsController.php - Student records
app/Models/Eleve.php - Classes
app/Models/Classe.php
Finance
- School fees
app/Controllers/FraisController.php - Fee records
app/Models/FraisScolaire.php - Payments
app/Controllers/PaiementsController.php - Student debts
app/Models/DetteEleve.php - Parent payment notices
app/Services/PaymentParentNotifier.php
Teaching and reporting
- Teaching workflows
app/Controllers/NotesController.php - Attendance
app/Controllers/PresencesController.php - Student bulletins
app/Controllers/BulletinsController.php - Reports and statistics
app/Controllers/RapportsController.php
Application runtime
- Web entry
public/index.php - Request router
app/Core/Router.php - Database connection
app/Core/Database.php - Application layout
app/Views/partials/app_header.php
Other components
- School staff
- Families
Connections 27
- School staff → Web entry: uses
- Families → Web entry: uses
- Web entry → Request router: starts
public/index.php - Request router → Authentication and roles: checks access
app/Core/Router.php - Request router → School administration: routes to
- Request router → Enrollment: routes to
- Request router → Payments: routes to
- Request router → Teaching workflows: routes to
- Request router → Attendance: routes to
- Request router → Student bulletins: routes to
- Request router → Reports and statistics: routes to
- Authentication and roles → User accounts: loads users
app/Core/Auth.php - Authentication and roles → Role factory: builds roles
app/Core/Auth.php - School administration → Schools and subscriptions: manages schools
app/Controllers/EcolesController.php - School administration → User accounts: manages accounts
app/Controllers/EcolesController.php - Dashboard → Schools and subscriptions: loads schools
app/Controllers/DashboardController.php - Dashboard → User accounts: loads users
app/Controllers/DashboardController.php - Enrollment → Student records: creates students
app/Controllers/InscriptionsController.php - Enrollment → Classes: checks classes
app/Controllers/InscriptionsController.php - Enrollment → Fee records: applies fees
app/Controllers/InscriptionsController.php - School fees → Fee records: manages fees
app/Controllers/FraisController.php - Payments → Student debts: loads balances
app/Controllers/PaiementsController.php - Payments → Parent payment notices: notifies parents
app/Controllers/PaiementsController.php - School administration → Database connection: queries through
- Enrollment → Database connection: queries through
app/Controllers/InscriptionsController.php - Payments → Database connection: queries through
app/Controllers/PaiementsController.php - Web entry → Application layout: renders