Download the PHP package php-prosvirin-dev/laravel-todo-inspector without Composer
On this page you can find all versions of the php package php-prosvirin-dev/laravel-todo-inspector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-prosvirin-dev/laravel-todo-inspector
More information about php-prosvirin-dev/laravel-todo-inspector
Files in php-prosvirin-dev/laravel-todo-inspector
Package laravel-todo-inspector
Short Description Scan and manage TODO, FIXME, HACK comments in Laravel projects
License MIT
Homepage https://github.com/php-prosvirin-dev/laravel-todo-inspector
Informations about the package laravel-todo-inspector
Laravel Todo Inspector
A powerful Laravel package to scan, manage, and track TODO, FIXME, HACK, REVIEW, and NOTE comments across your entire project. Transform scattered code comments into a manageable technical debt backlog with a beautiful web interface.
Features
- 🔍 Smart Scanning - Detects TODO, FIXME, HACK, REVIEW, NOTE comments in single-line and multi-line formats
- 📊 Web Interface - Clean, responsive dashboard with filtering, search, and bulk actions
- 🎨 Dark/Light Theme - Automatic theme switching with user preference persistence
- 🌍 Multi-language - Support for 9 languages (English, Russian, Ukrainian, Polish, German, French, Spanish, Chinese, Japanese)
- 🔐 Authentication - Simple HTTP Basic Auth with configurable credentials
- ⚡ Bulk Operations - Update multiple task statuses at once
- 🗂️ File Links - Direct links to files in PhpStorm (configurable for other IDEs)
- 📈 Statistics - Visual statistics by type, priority, and status
- 🛠️ Artisan Command -
php artisan todo:scanfor manual or scheduled scanning
Requirements
- PHP 8.1 or higher
- Laravel 10.x, 11.x, 12.x, or 13.x
- MySQL, PostgreSQL, or SQLite
Installation
1. Install via Composer
2. Publish Package Assets
Publish everything at once:
Or publish individually:
3. Run Migrations
4. Configure Authentication
Add credentials to your .env file to secure the web interface:
Configuration
The configuration file is located at config/todo-inspector.php after publishing.
Basic Configuration
Usage
Run the scan command to find all TODO comments:
Options:
--clear- Clear existing tasks before scanning--type=TODO- Scan only specific type (TODO, FIXME, HACK, REVIEW, NOTE)--path=app/Http- Scan only specific directory
Example:
Schedule Automatic Scans
Add to app/Console/Kernel.php:
Access Web Interface
Login with credentials configured in .env.
Features in Web Interface
Dashboard
- Statistics Cards - Total tasks and breakdown by type
- Priority Statistics - Visual breakdown by priority level
- Click Filters - Click on any statistic card to filter tasks
Task Management
- Search - Search across content, file paths, and authors
- Filters - Filter by type, priority, and status
- Bulk Actions - Update multiple tasks at once
- Status Updates - Change task status directly from the table
- File Links - Click the code icon to open the file in PhpStorm
Theme & Language
- Dark/Light Mode - Toggle with persistent preference
- Multi-language - Select from 9 languages, saved to localStorage
Comment Format Examples
The package detects comments in the following formats:
Single-line Comments
Multi-line Comments
Priority Tags
Use brackets to specify priority:
[LOW]- Low priority[MEDIUM]- Medium priority (default)[HIGH]- High priority[CRITICAL]- Critical priority
Author Tags
Use @username to assign tasks to specific developers.
Customization
Override Views
Views will be copied to resources/views/vendor/todo-inspector/. Modify them as needed.
Override Translations
Translations will be copied to resources/lang/vendor/todo-inspector/. Add or modify translations.
Custom CSS/JS
Assets will be copied to public/vendor/todo-inspector/. Update CSS or JS files directly.
Troubleshooting
Tasks Not Found
- Check file extensions in config
- Verify exclude directories don't include your code
- Ensure comments match the expected patterns
Authentication Issues
- Verify credentials in
.envfile - Clear config cache:
php artisan config:clear
Translation Not Working
- Publish language files:
php artisan vendor:publish --tag=todo-inspector-lang - Clear view cache:
php artisan view:clear
Contributing
Contributions are welcome! Please submit a Pull Request or create an Issue.
License
The MIT License (MIT). Please see License File for more information.
Credits
- Created by Yauheni Prasviryn
- Built with Laravel and Tailwind CSS
All versions of laravel-todo-inspector with dependencies
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/console Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/filesystem Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^9.0|^10.0|^11.0|^12.0|^13.0