Download the PHP package mr-sabya/querylens without Composer

On this page you can find all versions of the php package mr-sabya/querylens. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package querylens

๐Ÿ” QueryLens

QueryLens is a modern, lightweight, and high-performance API debugging and SQL profiling tool for Laravel. It provides a real-time dashboard to monitor your application's database activity and API performance without unnecessary complexity.

Latest Version on Packagist Total Downloads


โœจ Features


๐Ÿ’ป Requirements

Requirement Version
PHP ^8.2
Laravel ^10.0 | ^11.0 | ^12.0

๐Ÿ“ฆ Installation

Install the package via Composer:

Run the installation command:

This command will:


โš™๏ธ Configuration

After installation, configure QueryLens from:

Example configuration:


๐Ÿš€ Usage

Start your Laravel application:

Open the dashboard in your browser:

QueryLens will automatically record:


๐Ÿ“Š Dashboard Preview

The dashboard includes:

Request Monitoring

SQL Query Insights

Performance Analysis


๐Ÿ”ฅ Slow Query Detection

Queries slower than the configured threshold will automatically be highlighted.

Example:


๐Ÿ—‚ Storage

QueryLens uses a dedicated SQLite database for storing logs.

This keeps your primary application database clean and optimized.


๐Ÿ” Security

QueryLens is intended for local and development environments.

Disable it in production:

You may also protect the dashboard using authentication middleware:


๐Ÿงช Example Query Log

Execution details:


๐Ÿ“ Package Structure


๐Ÿ›  Roadmap


๐Ÿค Contributing

Contributions are welcome.

  1. Fork the repository
  2. Create a new feature branch
  3. Commit your changes
  4. Push your branch
  5. Open a Pull Request

๐Ÿ“„ License

This package is open-sourced software licensed under the MIT license.


โญ Support

If you find QueryLens useful, consider starring the repository on GitHub.


All versions of querylens with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mr-sabya/querylens contains the following files

Loading the files please wait ...