A comprehensive, API-first project management system built with CodeIgniter 4.7.0 featuring advanced intelligence, real-time collaboration, and data-driven insights. Designed for immediate visibility and accountability by design.
This system provides complete project lifecycle management with intelligent automation, performance analytics, and capacity forecasting. Built for teams that need fast, distraction-free workflows with powerful insights.
- Project Workspace: Complete project management with client details, budget, timeline, documentation, and repository links
- Interactive Kanban Board: Drag-and-drop task management with SortableJS (Backlog → Todo → In Progress → Review → Done)
- Task Management: Full lifecycle tracking with priorities, deadlines, assignments, blockers, and tags
- Client Management: Comprehensive client information and project associations
- Time Tracking: Live JavaScript timers plus manual entries with billable/non-billable tracking
- Notes & Decision Log: Per-project and per-task notes with types (note/decision/blocker/update) and pin functionality
- Integrated Messaging: Threaded project messaging with replies and unread tracking
- Automated Calculation: Multi-factor performance scores updated automatically
- Deadline Score (40%): On-time completion rate over 30 days
- Speed Score (30%): Efficiency based on estimated vs actual hours
- Engagement Score (30%): Daily check-ins, activity logs, and time entries
- Performance Trends: 6-month historical tracking per developer
- Visual Dashboard: Color-coded scores with detailed breakdowns
- Simple Interface: Mood selection, accomplishments, today's plan, blockers
- Streak Tracking: Gamified daily engagement with streak counter
- Team Visibility: Admin view of all team check-ins by date
- Help Flagging: Developers can flag when they need assistance
- Activity Integration: Check-ins update last_activity timestamps
- Deadline Risk Alerts: Tasks due within 3 days (critical/high severity)
- Inactivity Detection: Developers inactive 3+ days or missing check-ins
- Overload Warnings: Developers with 10+ active tasks
- Budget Risk Alerts: Projects using 80%+ of budget
- Blocker Notifications: Immediate alerts for blocked tasks
- Smart Grouping: Alerts grouped by severity (critical/high/medium/low)
- One-Click Resolution: Resolve alerts directly from dashboard
- Project Templates: Pre-configured projects with task lists, budgets, timelines
- Task Templates: Reusable task definitions with checklists and estimates
- Quick Application: One-click project creation from templates
- JSON Storage: Flexible template structure for complex workflows
- Real-Time Metrics: Total revenue, cost, profit, and margin calculations
- Project-Level Analysis: Individual project profitability with billing types
- 6-Month Trends: Historical profitability tracking
- Hourly vs Fixed: Support for hourly, fixed-price, and retainer billing
- Top Performers: Ranked list of most profitable projects
- Cost Calculation: Automatic cost estimation based on logged hours
- Team Size Analysis: Current developer count and available hours/week
- Utilization Tracking: Real-time capacity utilization percentage
- Demand Calculation: Total estimated hours from active tasks
- Capacity Gap: Visual comparison of supply vs demand
- Hiring Recommendations: Data-driven suggestions for team expansion
- Urgency Levels: High/medium/low urgency based on utilization and gap
- Project Allocation: Breakdown of capacity needs per project
The system includes comprehensive activity tracking (last_activity timestamps, daily check-ins, time entries, task updates). This provides transparency and accountability while respecting company culture. All monitoring is designed for workflow improvement, not surveillance.
- Full system access with all capabilities
- Create, edit, archive, and delete projects
- Assign developers and manage workloads
- Access financial metrics and profitability dashboards
- View all time tracking data
- Modify priorities, deadlines, and statuses
- Access system-wide analytics
- Configure templates and automations
- View only assigned projects and tasks
- Update task statuses
- Log time entries
- Submit daily check-ins
- Upload files and comment
- Report blockers
- Restrictions: No access to financial data, no visibility into unrelated projects, no permission changes
- Framework: CodeIgniter 4.7.0
- Authentication: CodeIgniter Shield
- Database: MySQL
- Frontend: Bootstrap 5, Vanilla JavaScript, SortableJS
- Architecture: API-first with RESTful endpoints
- PHP 8.1 or higher
- MySQL 5.7 or higher
- Composer
- Apache/Nginx web server (for production)
clients- Client information and contact detailsprojects- Project details linked to clients with health statustasks- Tasks with status, priority, deadlines, ownership, and blockersusers- User accounts with performance scores (managed by Shield)time_entries- Time logs linked to tasks and usersactivity_logs- Comprehensive audit trail for all major actionsfinancials- Project pricing and profitability dataperformance_metrics- User and project performance trackingproject_users- Project team assignments (junction table)
notes- Notes and decision log per project/taskmessages- Threaded project messaging system- Enhanced
projects- Added documentation, repository_url, staging_url, production_url, health_status - Enhanced
tasks- Added is_blocked, blocker_reason, tags
daily_check_ins- Developer daily check-ins with mood and blockersalerts- Automated system alerts for risks and inactivityproject_templates- Reusable project templates with task liststask_templates- Reusable task templates with checklists- Enhanced
users- Added performance_score, deadline_score, speed_score, engagement_score, last_check_in, last_activity
- Drag-and-drop task management
- Real-time status updates
- Visual priority indicators
- Deadline tracking with overdue alerts
- Admin Dashboard: Project health overview, system-wide metrics, recent activity
- Developer Dashboard: Personal task list, hours logged, completion statistics
- RESTful API endpoints for all entities
- JSON responses with proper HTTP status codes
- Permission-based access control on all endpoints
- Clean, fast, distraction-free interface
- 100% mobile responsive
- Modern UI inspired by Linear/ClickUp/Monday
- Role-based access control (RBAC)
- Permission-based filters on all routes
- Activity logging for accountability
- Secure password hashing via Shield
- CSRF protection (configurable)
- Input validation and sanitization
- PHP 8.1+
- MySQL 5.7+
- Composer
- XAMPP/WAMP (for local development)
-
Create CodeIgniter Project
composer create-project codeigniter4/appstarter:4.7.0 . -
Install CodeIgniter Shield
composer require codeigniter4/shield:^1.0 php spark shield:setup
-
Configure Environment
cp env.example .env
Edit
.envand set:- Database credentials (MySQL)
- Base URL
- Environment to development
-
Create Database
mysql -u root -e "CREATE DATABASE project_management_db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;" -
Run Migrations
php spark migrate --all
-
Seed Roles and Permissions
php spark db:seed RolesPermissionsSeeder
-
Create Admin User
php spark shield:user create php spark shield:group add [username] admin
-
Start Development Server
php spark serve
-
Access Application
- URL: http://localhost:8080
- Login with admin credentials
For detailed step-by-step instructions, see QUICKSTART.md.
- RESTful endpoints for all entities
- ResourceController pattern
- JSON responses with proper HTTP status codes
- Permission-based access control on all routes
- DashboardService: Executive dashboard data aggregation
- PerformanceService: Developer performance score calculations
- AlertService: Automated alert generation and management
- AssignmentService: Smart task assignment recommendations
- ProfitabilityService: Financial metrics and profitability analysis
- CapacityService: Team capacity forecasting and hiring recommendations
app/
├── Controllers/ # Web and API controllers
├── Models/ # Database models with validation
├── Services/ # Business logic layer
├── Views/ # Server-rendered views (Bootstrap 5)
├── Filters/ # RBAC and permission filters
├── Database/
│ ├── Migrations/ # Database schema migrations
│ └── Seeds/ # Data seeders
└── Config/ # Configuration files
- Bootstrap 5: Responsive UI framework
- Vanilla JavaScript: Minimal, fast interactions
- SortableJS: Kanban drag-and-drop (CDN)
- AJAX: Real-time updates without page reloads
- Dashboard Load Time: < 5 seconds
- Project Health: Auto-calculated and color-coded
- Critical Alerts: Displayed prominently on dashboard
- Real-Time Updates: AJAX for status changes, timers, messaging
- Activity Logging: All major actions logged automatically
- Performance Scores: Updated automatically based on behavior
- Daily Check-Ins: Streak tracking and team visibility
- Audit Trail: Complete history with user, IP, and timestamp
- Executive Dashboard: All key metrics at a glance
- Automated Alerts: Proactive risk detection
- Profitability Dashboard: Real-time financial insights
- Capacity Forecasting: Data-driven hiring recommendations
- Performance Tracking: Objective developer metrics
This is a local development setup. For production deployment:
- Enable HTTPS
- Configure proper database credentials
- Set up automated backups
- Enable CSRF protection
- Configure email notifications
- Set up queue workers for background jobs
- Implement rate limiting
- Configure proper logging
- Set up monitoring and alerting
For complete API endpoint documentation, see API.md.
Proprietary - All rights reserved
For issues or questions, please contact the development team.