How dkarzky/absendpmptsp works
Project type and purpose
• This is a full-stack, role-based web application built on the Laravel PHP framework.
• Purpose: track employee attendance (“absensi”) and leave (“izin”), provide admin dashboards, generate monthly/aggregate reports, and export data to spreadsheets.
File structure
• Top‐level “app” directory follows Laravel’s MVC pattern:
• Controllers (app/Http/Controllers) handle HTTP requests for Absensi, Izin, Rekap, Profile, Admin, and Auth.
• Models (app/Models) represent Absensi, Izin, and User domain entities.
• Middleware enforces role checks (AdminMiddleware, PegawaiMiddleware).
• Exports (app/Exports) house classes for generating spreadsheet exports.
• “resources/views” contains Blade templates organized by feature (absensi, admin, pegawai, rekap, auth).
• “routes/web.php” and “routes/auth.php” define public/web routes and auth endpoints.
• Configuration, bootstrap, and package files (composer.json, .env) set up framework, database, mail, cache, session, and queue.
• “database” holds migrations and seeders for schema evolution and initial data.
• “public” is the web root (index.php entry point, assets, images).
• Supporting files: Tailwind & Vite for frontend assets, PHPUnit for tests.
README
• Generic Laravel README: confirms use of Laravel’s routing, DI container, Eloquent ORM, migrations, queuing, and broadcasting—even if not all are used here.