How codespheretechnologies/productivityai works
This is an AI-assisted productivity web application built on Laravel, rather than the Laravel framework itself. The principal workflow is a signed-in user creating and managing tasks, organizing them with categories, tags, subtasks and calendar events, then reviewing dashboard/productivity information; AI features can suggest, break down, rewrite and plan tasks. Notes, notifications, reminders, administration and account management are substantial supporting capabilities. The task controller excerpt confirms its calls into task services and repositories; other links reflect the source-tree structure and Laravel entry points, not inspected implementation details.
Main entry points: web.php Web routes · TaskController.php Task controller · AIAssistantController.php AI feature controller · AIAssistantService.php AI assistant
Components 25
Web entry and UI
- Web routes
routes/web.php - Blade interface
resources/views
Task workspace
- Task controller
app/Http/Controllers/TaskController.php - Task service
app/Services/Task/TaskService.php - Task repository
app/Repositories/TaskRepository.php - Task model
app/Models/Task.php - Categories and tags
app/Http/Controllers/CategoryController.php - Notes
app/Services/Note/NoteService.php
Planning and insights
- Calendar events
app/Services/Calendar/CalendarService.php - Dashboard
app/Services/Dashboard/DashboardService.php - Productivity insights
app/Services/Productivity/ProductivityService.php
AI assistance
- AI feature controller
app/Http/Controllers/AIAssistantController.php - AI assistant
app/Services/AI/AIAssistantService.php - AI provider service
app/Services/AI/AIService.php - Provider selection
app/Services/AI/AIProviderFactory.php - AI providers
app/Services/AI/Providers - AI history
app/Services/AI/AIHistoryService.php
Accounts and operations
- Authentication
app/Http/Controllers/Auth - Administration
app/Http/Controllers/Admin - Reminder processing
app/Console/Commands/ProcessReminders.php - Notifications and digests
app/Services/Notification/NotificationService.php
Other components
- Signed-in user
- Application database
- AI provider API
- Mail delivery
Connections 29
- Signed-in user → Web routes: sends requests
- Web routes → Task controller: dispatches
- Web routes → AI feature controller: dispatches
- Web routes → Authentication: dispatches
- Web routes → Administration: dispatches
- Task controller → Task service: calls
- Task controller → Task repository: queries
- Task controller → Blade interface: renders
- Task service → Task repository: delegates persistence
- Task repository → Application database: reads and writes
- Categories and tags → Application database: reads and writes
- Notes → Application database: reads and writes
- Calendar events → Application database: reads and writes
- Dashboard → Application database: reads
- Productivity insights → Application database: reads
- AI feature controller → AI assistant: calls
- AI assistant → AI provider service: uses
- AI provider service → Provider selection: selects provider
- Provider selection → AI providers: creates
- AI providers → AI provider API: sends prompts
- AI assistant → AI history: records activity
- AI feature controller → Task service: applies task changes
- Authentication → Application database: reads and writes
- Administration → Application database: reads and writes
- Reminder processing → Application database: checks reminders
- Reminder processing → Notifications and digests: triggers
- Notifications and digests → Mail delivery: sends messages
- Notifications and digests → Application database: stores notifications
- Blade interface → Signed-in user: displays results