fiveorbs / quma
A 'no ORM' database library which uses plain SQL files
dev-main
2024-11-17 17:25 UTC
Requires
- php: >=8.1
- fiveorbs/cli: dev-main
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-17 17:42:39 UTC
README
Quma is a PHP port of the similary named Python library quma.
Test Databases
Mysql
CREATE DATABASE quma_db;
CREATE USER quma_user@'%' IDENTIFIED BY 'quma_password';
GRANT ALL ON quma_db.* TO quma_user@'%';
PostgreSQL
CREATE DATABASE quma_db WITH TEMPLATE = template0 ENCODING = 'UTF8';
CREATE USER quma_user PASSWORD 'quma_password';
GRANT ALL PRIVILEGES ON DATABASE quma_db TO quma_user;
ALTER DATABASE quma_db OWNER TO quma_user;