Download the PHP package jati/guciravel without Composer

On this page you can find all versions of the php package jati/guciravel. 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 guciravel

โ™จ๏ธ Guciravel

The Visual N+1 Query Healer for Laravel

Detect, Trace, and Heal Laravel Performance Issues Visually.

Version 1.0.0 PHP 8.0+ Laravel 9.x - 12.x Composer 2.x


๐Ÿ“– What is Guciravel?

Guciravel is an N+1 Query detection library tailored specifically for Development environments. Inspired by the Guci Hot Springs in Tegal, Indonesia (famous for its healing properties), this library "heals" the chronic N+1 Query disease that silently kills your Laravel application's performance.

Unlike Laravel's built-in preventLazyLoading() feature which throws a disruptive error page, Guciravel acts like a Secret Intelligence Agent. It allows your application to run normally, but if it detects an N+1 Query, it seamlessly injects a highly informative Alert Panel into the corner of your browser.

๐Ÿ›ก๏ธ Enterprise-Grade Safety

Guciravel is engineered with absolute Production Safety in mind:


๐Ÿ–ฅ๏ธ Server Requirements & Compatibility (Versioning)

Guciravel is engineered for wide enterprise compatibility across both legacy and modern Laravel LTS/stable releases. Its dependencies are decoupled from heavy application layers and bind strictly to illuminate/support, illuminate/database, and illuminate/contracts.

1. Supported PHP & Laravel Versions

Component Supported Version Ranges Minimum Requirement Notes
PHP Runtime 8.0, 8.1, 8.2, 8.3, 8.4 ^8.0 Strict types enabled; PHP 7.x intentionally unsupported
Laravel Framework 9.x, 10.x, 11.x, 12.x ^9.0 Full support for Laravel 11/12 streamlined bootstrap
Composer 2.x ^2.0 Utilizes PSR-4 autoloading & Laravel package auto-discovery

2. Composer Dependency Matrix

Composer Package Requirement Version Constraint Purpose
php ^8.0 Core PHP engine and typed property compatibility
illuminate/support ^9.0\|^10.0\|^11.0\|^12.0 Event Dispatcher & Collection utilities
illuminate/database ^9.0\|^10.0\|^11.0\|^12.0 QueryExecuted event interception & Eloquent model tracing
illuminate/contracts ^9.0\|^10.0\|^11.0\|^12.0 Laravel IoC container and Http Kernel contracts

๐Ÿ“ฆ Installation

Since this is purely a development tool, it is highly recommended to install it as a --dev dependency with semantic versioning:

This package utilizes Laravel Auto-Discovery. You do not need to register the Service Provider manually.


๐Ÿš€ Usage

There is Zero Configuration required. Simply serve your Laravel application locally as you normally would.

Detection Scenario:

  1. You define an Eloquent relationship (e.g., User has many Posts).
  2. You iterate through them without Eager Loading in your Blade view:

  3. When you load the page in your browser, the Guciravel Panel will automatically pop up in the bottom right corner of your screen.

What Does Guciravel Tell You?

The Guciravel panel provides a detailed forensic diagnosis:

  1. ๐Ÿงฎ Duplication Count: How many times the exact same query was executed.
  2. ๐Ÿ’พ Raw SQL: The raw SQL statement causing the bottleneck.
  3. ๐Ÿ“ File Location: (CRITICAL!) Guciravel traces the execution stack and pinpoints the specific file name and line number (e.g., resources/views/users.blade.php (Line: 12)).
  4. ๐Ÿ’Š Healing Remedy: Recommendation to fix the issue using the with() method.

โš ๏ธ Recommendations & Best Practices

1. When to use with()?

Guciravel will advise you to use eager loading. This means you should change your Eloquent calls from:

To:

2. Does this replace preventLazyLoading()?

No, both can work side-by-side. However, if you enable Model::preventLazyLoading(! app()->isProduction()); in your AppServiceProvider, your application will crash (throw an Exception) before Guciravel has a chance to render its beautiful UI.

If you prefer a visual, educational approach (especially useful when working with Junior developers who need exact file locations), you can rely entirely on Guciravel without enabling preventLazyLoading().

3. SPA & API Compatibility

Guciravel is designed exclusively to inject pure HTML pages.


๐Ÿ›๏ธ Enterprise Architecture & Zero-PDO Overhead

Guciravel uses an Event-Driven Interceptor architecture (Illuminate\Support\Facades\Event::listen(QueryExecuted::class)).


๐Ÿงช Testing & Verification

Guciravel comes with a complete automated test suite powered by PHPUnit 10 and Orchestra Testbench 9.

To run the verification suite locally:

The test suite covers:


๐Ÿ‘จโ€๐Ÿ’ป Author

Rafly A.R ๐Ÿ“ง Email: [email protected] ๐Ÿ“ธ Instagram: @galaxy_scream


๐Ÿ“œ License

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


All versions of guciravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/database Version ^9.0|^10.0|^11.0|^12.0
illuminate/contracts Version ^9.0|^10.0|^11.0|^12.0
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 jati/guciravel contains the following files

Loading the files please wait ...