Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beyondcode/laravel-query-detector
Laravel N+1 Query Detector
https://github.com/beyondcode/laravel-query-detector
hacktoberfest
Last synced: 5 days ago
JSON representation
Laravel N+1 Query Detector
- Host: GitHub
- URL: https://github.com/beyondcode/laravel-query-detector
- Owner: beyondcode
- License: mit
- Created: 2018-07-15T11:49:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T16:16:08.000Z (4 months ago)
- Last Synced: 2025-01-14T03:01:10.200Z (12 days ago)
- Topics: hacktoberfest
- Language: PHP
- Homepage: https://beyondco.de/docs/laravel-query-detector/usage
- Size: 90.8 KB
- Stars: 2,004
- Watchers: 23
- Forks: 139
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - beyondcode/laravel-query-detector - Laravel N+1 Query Detector (PHP)
README
# Laravel N+1 Query Detector
[![Latest Version on Packagist](https://img.shields.io/packagist/v/beyondcode/laravel-query-detector.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-query-detector)
[![Total Downloads](https://img.shields.io/packagist/dt/beyondcode/laravel-query-detector.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-query-detector)The Laravel N+1 query detector helps you to increase your application's performance by reducing the number of queries it executes. This package monitors your queries in real-time, while you develop your application and notify you when you should add eager loading (N+1 queries).
![Example alert](https://beyondco.de/github/n+1/alert.png)
## Installation
You can install the package via composer:
```bash
composer require beyondcode/laravel-query-detector --dev
```The package will automatically register itself.
## Documentation
You can find the documentation on our [website](http://beyondco.de/docs/laravel-query-detector).
### Testing
``` bash
composer test
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Marcel Pociot](https://github.com/mpociot)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.