Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

MatthewYeend/Query-Optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Query Optimizer

A package to analyze and optimize database queries in Laravel.


Installation

  1. Install via Composer:
    composer require MattYeend/query-optimizer
  2. The service provider is automatically registered
  3. Run migrations:
    php artisan migrate
  4. Analyze queries using:
    php artisan query:analyze

Features

  • Logs all queries with execution time.
  • Identifies slow queries.
  • Provides optimization suggestions.

License

This package is licensed under the MIT License.


Contributing

Feel free to fork the repository and submit pull requests for improvements or new features!