conia/quma

A 'no ORM' database library which uses plain SQL files

dev-main 2023-02-15 20:33 UTC

This package is auto-updated.

Last update: 2024-10-20 16:57:30 UTC


README

Software License Coverage Status Psalm coverage Psalm level Quality Score

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;