conia / quma
A 'no ORM' database library which uses plain SQL files
dev-main
2023-02-15 20:33 UTC
Requires
- php: >=8.1
- conia/cli: dev-main
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-20 17:24:50 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;