54 lines
1.9 KiB
Markdown
54 lines
1.9 KiB
Markdown
# Laravel N+1 Query Detector
|
|
|
|
[](https://packagist.org/packages/beyondcode/laravel-query-detector)
|
|
[](https://travis-ci.org/beyondcode/laravel-query-detector)
|
|
[](https://scrutinizer-ci.com/g/beyondcode/laravel-query-detector)
|
|
[](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).
|
|
|
|

|
|
|
|
|
|
## 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 marcel@beyondco.de 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.
|