Download the PHP package guanguans/laravel-soar without Composer
On this page you can find all versions of the php package guanguans/laravel-soar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download guanguans/laravel-soar
More information about guanguans/laravel-soar
Files in guanguans/laravel-soar
Download guanguans/laravel-soar
More information about guanguans/laravel-soar
Files in guanguans/laravel-soar
Vendor guanguans
Package laravel-soar
Short Description SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。
License MIT
Homepage https://github.com/guanguans/laravel-soar
Package laravel-soar
Short Description SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。
License MIT
Homepage https://github.com/guanguans/laravel-soar
Please rate this library. Is it a good library?
Informations about the package laravel-soar
laravel-soar
SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。
ENGLISH
Feature
- Supports heuristic rule suggestions, index rule suggestions, and
EXPLAIN
information interpretation - Support calling query builder
Mixin
methods for convenient dumping of rule suggestions - Automatically monitor output rule suggestions to configured outputs
Related Links
Requirement
- PHP >= 8.0
Installation
Configuration
Publish files(optional)
:warning: When running in a unix OS non-cli environment, may throw Fatal error: ...Exit Code: 2(Misuse of shell builtins)
Usage
Enable to automatically output SQL optimization suggestions
details
#### Configure `SOAR_ENABLED` #### Or configure [`soar.enabled`](config/soar.php)Install and configure outputs(optional)
Clockwork
1. Install [itsgoingd/clockwork](https://github.com/itsgoingd/clockwork) 2. Configure [soar.outputs.Outputs\ClockworkOutput::class](config/soar.php) Console
1. Configure [soar.outputs.Outputs\ConsoleOutput::class](config/soar.php) DebugBar
1. Install [barryvdh/laravel-debugbar](https://github.com/barryvdh/laravel-debugbar) 2. Configure [soar.outputs.Outputs\DebugBarOutput::class](config/soar.php) Dump
1. Configure [soar.outputs.Outputs\DumpOutput::class](config/soar.php) Json
1. Configure [soar.outputs.Outputs\JsonOutput::class](config/soar.php)LaraDumps
1. Install [laradumps/laradumps](https://github.com/laradumps/laradumps) 2. Configure [soar.outputs.Outputs\LaraDumpsOutput::class](config/soar.php) Log
1. Configure [soar.outputs.Outputs\LogOutput::class](config/soar.php) Ray
1. Install [spatie/laravel-ray](https://github.com/spatie/laravel-ray) 2. Configure [soar.outputs.Outputs\RayOutput::class](config/soar.php) Telescope
Telescope's `EventWatcher` and `LogWatcher` can watch the output of Soar scores. 1. Install [laravel/telescope](https://github.com/laravel/telescope) 2. Configure `telescope.watchers`: |  |  | |----------------------------------------------|------------------------------------------|Custom output
1. Implement [OutputContract](src/Contracts/OutputContract.php) 2. Configure [soar.outputs.Outputs\CustomOutput::class](config/soar.php)Soar commands
details
#### Usage example(support standard input) Soar facade and methods
Mixin
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- guanguans
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-soar with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
guanguans/soar-php Version ^6.2
laravel/framework Version ^9.52 || ^10.0 || ^11.0 || ^12.0
guanguans/soar-php Version ^6.2
laravel/framework Version ^9.52 || ^10.0 || ^11.0 || ^12.0
The package guanguans/laravel-soar contains the following files
Loading the files please wait ....