Download the PHP package guanguans/soar-php without Composer
On this page you can find all versions of the php package guanguans/soar-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download guanguans/soar-php
More information about guanguans/soar-php
Files in guanguans/soar-php
Package soar-php
Short Description SQL optimizer and rewriter(assisted SQL tuning). - SQL 优化器和重写器(辅助 SQL 调优)。
License MIT
Homepage https://github.com/guanguans/soar-php
Informations about the package soar-php
soar-php
[!NOTE] SQL optimizer and rewriter(assisted SQL tuning) based on Xiaomi's soar development. - 基于小米的 soar 开发的 SQL 优化器和重写器(辅助 SQL 调优)。
Requirement
- PHP >= 8.2
Used in the framework
- [x] Laravel - laravel-soar、laravel-web-soar
- [x] ThinkPHP - think-soar
- [x] Hyperf - hyperf-soar
- [x] Webman - webman-soar
- [ ] Yii2
- [ ] Symfony
- [ ] Slim
Installation
Usage
Quick start
SQL Scores(Fingerprint、Score、Explain、Heuristic suggestions、Index suggestions)
: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 > On higher versions of macOS, it is possible that the fingerprint authentication window will pop up. You can configure sudoers to run `soar` command without password. 1. Edit Configuration file of sudoers: 2. Add rule [`{user name} ALL=(ALL) NOPASSWD: {soar binary(You can find it from the exception message.)}`]:Composer scripts
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
Contributors ✨
Thanks goes to these wonderful people (emoji key):
kamly 🐛 |
Leslie Lau 🐛 |
D.J.Hwang 🤔 |
海彬 🐛 |
imcm 🤔 |
This project follows the all-contributors specification. Contributions of any kind welcome!
License
The MIT License (MIT). Please see License File for more information.