php-ease-fluentpdo

php-ease-fluentpdo 0.2.6

 pool/sid/main/p/php-ease-fluentpdo/php-ease-fluentpdo_0.2.6_all.deb php-ease-fluentpdo
Database support for EasePHP Framework
Filename pool/sid/main/p/php-ease-fluentpdo/php-ease-fluentpdo_0.2.6_all.deb
Version0.2.6
Age in days1564
Release date2021 03. 20.
Size11 KB
id145
Namephp-ease-fluentpdo
Package
Appname
Essential
Vendor
License
Distributionsid
Suitemain
Source
Architecturebinary-i386
MultiArch
MaintainerVítězslav Dvořák
InstalledSize59
Dependsphp-ease-core , php-pdo-mysql , php-pdo-pgsql , php-pdo-sqlite
PreDepends
Breaks
Enhances
Sectionweb
Priorityoptional
DescriptionDatabase support for EasePHP Framework
LongDescriptionFluentPDO adapter for ease framework with ORM and Enginge classes
AutoBuiltPackage
Filenamepool/sid/main/p/php-ease-fluentpdo/php-ease-fluentpdo_0.2.6_all.deb
MD5sum96fb21f7994181542470f0e1e0314695
SHA1515a9e21fa72fefec2e6a4c01293578bb81bb7b0
SHA25619cabfbb4decc2b74316cdadaf0baf56f46596da7ddf5077b50083c26504c2b0
SHA5127bdce4a74a4a21d705f966c06032faf52a158d9d604d72dedf1489411a23ea3cd59755d2b8818e9bdd9adfa6975b9bce35242015273642c732a559c864b9579f
Size11260
Auto-Built-Package
Conflictsease-framework
Homepagehttps://github.com/VitexSoftware/php-ease-fluentpdo
Provides
Existing1
fileMtime2021-03-20 03:24:22
created2021-03-20 03:24:39
updated0000-00-00 00:00:00
./
./usr/
./usr/share/
./usr/share/doc/
./usr/share/doc/php-ease-fluentpdo/
./usr/share/doc/php-ease-fluentpdo/changelog.gz295
./usr/share/php/
./usr/share/php/EaseFluentPDO/
./usr/share/php/EaseFluentPDO/Engine.php2831
./usr/share/php/EaseFluentPDO/Orm.php15257
./usr/share/php/EaseFluentPDO/PDO.php17430
./usr/share/php/EaseFluentPDO/SQL.php11565
./usr/share/php/EaseFluentPDO/composer.json435
./
./usr/
./usr/share/
./usr/share/doc/
./usr/share/doc/php-ease-fluentpdo/
./usr/share/doc/php-ease-fluentpdo/changelog.gz295
./usr/share/php/
./usr/share/php/EaseFluentPDO/
./usr/share/php/EaseFluentPDO/Engine.php2831
./usr/share/php/EaseFluentPDO/Orm.php15257
./usr/share/php/EaseFluentPDO/PDO.php17430
./usr/share/php/EaseFluentPDO/SQL.php11565
./usr/share/php/EaseFluentPDO/composer.json435
<>

SQL Support for EasePHP Framework using FluentPDO

Project logo

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

Installation

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

Composer

    composer require vitexsoftware/ease-fluentpdo

Linux

For Debian, Ubuntu & friends please use repo:

echo "deb http://repo.vitexsoftware.com $(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.com/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)
  • DB_SETTINGS - pdo connection settings
  • DB_DEBUG - log sql queries

Testing

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

Building

Simply run make deb

Links

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

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

VersionDownload/Install countLast hit