saraf / qb
an easy to use query builder for mysql
Installs: 3 490
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 5
Open Issues: 1
Requires
- php: >=8.0
- react/async: ^4 || ^3 || ^2
- react/mysql: ^0.6
Requires (Dev)
README
This project is an easy-to-use query builder and mysql connection manager for saraf projects.
Warning Since mysql 8+ the default authentication plugin is
caching_sha2_password
which is currently not supported byfriends-of-reactphp/mysql
therefore in order to use mysql database, the auth plugin for user should be set tomysql_native_password
like this:ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'P@55w@rd';
Development
Before anything please ensure that you have phpcs
php-cs-fixer
installed on your machine. Then run the following
commands to set up project for yourself.
sudo npm i -g @commitlint/config-conventional pip install pre-commit pre-commit install pre-commit install --hook-type commit-msg