SQL Support for EasePHP Framework using FluentPDO
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vítězslav Dvořák 2ce6d5f122 fixed missing php-xml dependency on Bookworm 2 months ago
.github Create FUNDING.yml 11 months ago
Examples release v1.1 4 months ago
debian fixed missing php-xml dependency on Bookworm 2 months ago
nbproject v1.0 release 11 months ago
src/Ease username and password property renamed to less commom 3 months ago
tests Sqlite updated 4 months ago
.gitignore mysql persistence 4 months ago
README.md Master merged into main 1 year ago
composer.json release v1.1 4 months ago
php-ease-fluentpdo.png Logo updated 10 months ago
php-ease-fluentpdo.svg use fresh packages 7 months ago
php-vitexsoftware-ease-fluentpdo-doc.svg Do not dev-depend on php-dotenv 5 months ago
phpunit.xml release v1.1 4 months ago


SQL Support for EasePHP Framework using FluentPDO

Project logo

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads


Download https://github.com/VitexSoftware/php-ease-fluentpdo/archive/master.zip or use


composer require vitexsoftware/ease-fluentpdo


For Debian, Ubuntu & friends please use repo:

echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
sudo apt update
sudo apt install php-vitexsoftware-ease-fluentpdo

In this case please add this to your app composer.json:

    "require": {
        "deb/ease-fluentpdo": "*"
    "repositories": [
            "type": "path",
            "url": "/usr/share/php/EaseSQL",
            "options": {
                "symlink": true

Framework Constants

  • DB_TYPE - pgsql|mysql|sqlsrv|sqlite
  • DB_HOST - localhost is default
  • DB_PORT - database port
  • DB_DATABASE - database schema name
  • DB_USERNAME - database user login name
  • DB_PASSWORD - database user password
  • DB_SETUP - database setup command (executed directly after connect)


At first you need initialise create sql user & database with login and password from testing/phinx.yml and initialise testing database by phinx migrate command:

make phpunit

Or initalize another database and update .env file

composer update
cd tests
mysqladmin -u root -p create easetest
mysql -u root -p -e "GRANT ALL PRIVILEGES ON easetest.* TO easetest@localhost IDENTIFIED BY 'easetest'"
sudo -u postgres bash -c "psql -c \"CREATE USER easetest WITH PASSWORD 'easetest';\""
sudo -u postgres bash -c "psql -c \"create database easetest with owner easetest encoding='utf8' template template0;\""
make prepare


Simply run make deb


Homepage: https://www.vitexsoftware.cz/ease.php

GitHub: https://github.com/VitexSoftware/php-ease-fluentpdo