{"repo":"guanguans/laravel-soar","free":true,"listed":false,"github":"https://github.com/guanguans/laravel-soar","clone":"git clone https://github.com/guanguans/laravel-soar.git","description":"SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。","language":"PHP","stars":222,"topics":["laravel","laravel-sql","security-vulnerabilities","soar","sql","debug","optimize","rewrite","statement","mysql"],"license":"MIT","category":"databases-storage","readme_excerpt":"------------------------ ------------------------ laravel-soar SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。 简体中文 ENGLISH Features 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 https://github.com/XiaoMi/soar https://github.com/guanguans/soar-php Requirement PHP = 8.2 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) Configure sudo password Or configure sudoers Usage Enable to automatically output SQL optimization suggestions details Configure SOAR ENABLED Or configure soar.enabled Install and configure outputs(optional) Clockwork 1. Install itsgoingd/clockwork 2. Configure soar.outputs.Outputs\\ClockworkOutput::class Console 1. Configure soar.outputs.Outputs\\ConsoleOutput::class DebugBar 1. Install fruitcake/laravel-debugbar 2. Configure soar.outputs.Outputs\\DebugBarOutput::class Dump 1. Configure soar.outputs.Outputs\\DumpOutput::class Json 1. Configure soar.outputs.Outputs\\JsonOutput::class LaraDumps 1. Install laradumps/laradumps 2. Configure soar.outputs.Outputs\\LaraDumpsOutput::class Log 1. Configure soar.outputs.Outputs\\LogOutput::class Ray 1. Install spatie/laravel-ray 2. Configure soar.outputs.Outputs\\RayOutput:","default_branch":null,"files":null,"tree":[],"storefront":"/r/guanguans","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/guanguans/laravel-soar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}