Unity University is a Laravel 13 + Livewire 4 campus management platform built with Flux UI, Tailwind CSS 4, and Spatie Laravel Permission.
The platform provides a central place to manage:
- Departments
- Subjects
- Faculty profiles
- Classes
- Enrollments
- Role-based access control
- Dashboard analytics
It includes seeded sample data so you can open the app in the browser and test the workflow immediately.
- PHP 8.4
- Laravel 13
- Livewire 4
- Livewire Flux UI 2
- Tailwind CSS 4
- Spatie Laravel Permission
- SQLite by default
- Branded dashboard with analytics cards and trends
- Clickable breadcrumbs across management pages
- Department management with create, edit, delete safeguards
- Subject management with full CRUD
- Faculty profile management with role assignment
- Class management with edit/update and enrollment protection
- Enrollment workflow for students
- Centralized authorization policies
- Toast-style feedback for success and error states
The app uses role-based access control with these roles:
- Admin
- DepartmentStaff
- Faculty
- Student
After seeding, you can use these credentials:
- Admin:
admin@university.edu/password - Department staff:
deptstaff@university.edu/password - Faculty accounts:
alice@university.edu,bob@university.edu, and others /password - Student accounts:
student1@university.eduthroughstudent30@university.edu/password
composer install
npm installCopy the example environment file if needed:
cp .env.example .env
php artisan key:generateThis project uses SQLite by default.
touch database/database.sqlite
php artisan migrate:fresh --seednpm run buildYou can run the app with the combined dev script:
composer run devOr run the processes separately:
php artisan serve
npm run dev/dashboard- analytics dashboard/departments- department management/subjects- subject management/faculty- faculty management/classes- class management/enrollments- enrollment workflow
Run the test suite with:
php artisan testFor the current management features, targeted feature tests are available under tests/Feature/.
- The app is set up with seeded data for browser testing.
- Dashboard metrics are driven from live database records.
- Access to management pages is restricted to authorized roles.