A modular, role-based ERP dashboard built with Laravel, designed for scalable management of users, programs, and departments. This project demonstrates a simple best practices in Laravel architecture, UI/UX, and security, and is suitable for onboarding, NGO, or enterprise use.
- Secure login/register with role-based dashboard redirection:
- Admin
- Program Manager
- Care Support
- Secure User Authentication with Email Verification
- Location-aware Login Notifications
- Middleware-protected roles['admin', 'pm', 'support'] routes
- Little Responsive UI powered by Tailwind CSS
- Departments, Programs, Users management
- Search, create, edit, and delete for each module
- Export data (PDF, Excel, XML) for each module
- Responsive, accessible, and consistent UI (light/dark mode)
- Notifications, activity logs, and audit trails (planned)
- Modular Blade components for easy customization
- Programs management
- Search, create, edit, and delete for each module
- Export data (PDF, Excel, XML) for each module
- Responsive, accessible, and consistent UI (light/dark mode)
- Notifications, activity logs, and audit trails (planned)
- Modular Blade components for easy customization
- Export tables to PDF (with watermark, branding, and metadata)
- Export to Excel and XML (placeholders, ready for implementation)
βββ app/
β βββ Http/
β β βββ Controllers/
β β βββ Admin/
β β βββ DepartmentController.php
β β βββ ProgramController.php
β β βββ UserController.php
β βββ Models/
β
βββ bootstrap/
β βββ cache/
β
βββ config/
β βββ app.php
β βββ auth.php
β βββ permission.php
β βββ session.php
β βββ ...
β
βββ database/
β βββ factories/
β β βββ UserFactory.php
β βββ migrations/
β β βββ create_users_table.php
β β βββ create_departments_table.php
β β βββ create_programs_table.php
β β βββ ...
β βββ seeders/
β βββ DatabaseSeeder.php
β βββ RolesSeeder.php
β
βββ public/
β βββ assets/
β βββ videos/
β βββ favicon.ico
β βββ index.php
β
βββ resources/
β βββ css/
β βββ js/
β βββ lang/
β βββ views/
β β βββ admin/
β β β βββ departments/
β β β βββ programs/
β β β βββ users/
β β β βββ dashboard.blade.php
β β β βββ ...
β β βββ components/
β β βββ layouts/
β β βββ auth/
β β βββ pm/
β β βββ profile/
β β βββ vendor/
β β βββ welcome.blade.php
β βββ markdown/
β
βββ routes/
β βββ web.php
β βββ api.php
β βββ auth.php
β βββ console.php
β
βββ storage/
β βββ app/
β βββ framework/
β βββ logs/
β
βββ tests/
β βββ Feature/
β βββ Unit/
β βββ TestCase.php
β
βββ vendor/
β
βββ .env
βββ artisan
βββ composer.json
βββ package.json
βββ vite.config.js
βββ ...
- Laravel Framework 12.8.1
- Blade (templating)
- Tailwind CSS (UI styling)
- PHP 8.2.26
- MySQL
- "barryvdh/laravel-dompdf": "^3.1", (PDF export)
- "erag/laravel-pwa": "^1.8", (Progressive Web App Install)
- "robthree/twofactorauth": "^3.0" (2fa auth)
- *...
- CSRF, XSS, and input validation throughout
- Role-based access control (RBAC) using Laravel policies and middleware
- Password hashing, environment variable security
- GDPR/data privacy readiness (planned)
git clone git@github.com:BroCode-glithch/erp.git
cd erp
composer install
cp .env.example .env
php artisan key:generateEdit .env and set your database credentials.
php artisan migratephp artisan db:seedphp artisan serve- Register as an admin, program-manager, and, Care-Support, to access the dashboard.
- Manage departments, programs, and users from the dashboard.
- Manage the system based on role management.
- Admin has full control over other roles.
- Setup System Name, System Email, and others.
- Use the search and export buttons in each section.
- Switch between light and dark mode for better UX.
- Laravel setup & authentication
- Role-based login redirection
- Admin dashboard UI
- CRUD for departments, programs, users
- PDF export with watermark and branding
- Button styling and light/dark mode
- Excel/XML export
- Program Manager & User dashboards
- Notification system
- User activity logs
- Unit & feature tests
- Responsiveness of portals on Mobile
- ...
- UI/UX Design of the admin, and program-manager dashboard
- System Name
- Admin Dashboard Mobile Responsiveness (Key Challenge)
- Factories and seeders for test data
- Example feature and unit tests (see
/tests)
This project is open-sourced under the MIT license.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
Laravel is a web application framework with expressive, elegant syntax. Learn more at laravel.com.
| Category | Points (Max) | My Progress (Status) |
|---|---|---|
| Architecture | 200 | Pending |
| Code Quality | 150 | Pending |
| Features | 200 | Pending |
| UI/UX | 150 | Pending |
| Security | 100 | Pending |
| Deployment | 100 | Pending |
| Docs & Git | 100 | Pending |
| Total | 1000 |
- Architecture & System Design: Modular, scalable, and follows Laravel conventions.
- Code Quality: PSR-12, DRY, Eloquent, and reusable components.
- Features: Core modules (departments, programs, users) are implemented; RBAC and export working.
- UI/UX: Responsive, accessible, and customizable.
- Security: Standard Laravel protections in place.
- Deployment: Standard Laravel setup and .env configuration.
- Documentation: This README, in-code comments, and commit history.
For a detailed scoring breakdown, please refer to the assessment rubric or contact the reviewer @ .






