---
title: Installation
order: 1
---
# Laravel N+1 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:

```
composer require beyondcode/laravel-query-detector --dev
```

The package will automatically register itself.