There is no license information available for the latest version (1.0) of this package.

SQL/PDO support for Ease Framework based on FluentPDO

1.0 2020-08-11 10:52 UTC

This package is auto-updated.

Last update: 2023-02-28 23:52:37 UTC


Project logo

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


Download or use


composer require vitexsoftware/ease-fluentpdo


For Debian, Ubuntu & friends please use repo:

echo "deb $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.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)
  • DB_DEBUG - log sql queries


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