A package to analyze and optimize database queries in Laravel.
- Install via Composer:
composer require MattYeend/query-optimizer
- The service provider is automatically registered
- Run migrations:
php artisan migrate
- Analyze queries using:
php artisan query:analyze
- Logs all queries with execution time.
- Identifies slow queries.
- Provides optimization suggestions.
This package is licensed under the MIT License.
Feel free to fork the repository and submit pull requests for improvements or new features!