An PHP Framework for writing Applications

1.10 2020-12-02 12:46 UTC

This package is auto-updated.

Last update: 2021-01-02 13:19:39 UTC


EasePHP Framework Logo

EasePHP Framework Core

Object oriented PHP Framework for easy&fast writing small/middle sized apps.

Latest Version Software License Code Coverage Scrutinizer Code Quality Build Status Code Intelligence Status Total Downloads Latest stable

PHPUnit Ubuntu Packaging

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


Download or:


composer require vitexsoftware/ease-core


For Debian, Ubuntu & friends please use repo:

sudo apt install lsb-release wget
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-core 

You can also install optional packages php-vitexsoftware-ease-core-dev and php-vitexsoftware-ease-core-doc

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

json "require": { "ease-core": "*" }, "repositories": [ { "type": "path", "url": "/usr/share/php/EaseCore", "options": { "symlink": true } } ]


To get Docker image:

docker pull vitexsoftware/ease-core

Framework Constants

  • EASE_APPNAME - common name of application. Mainly used in logs. (APP_NAME is also recoginsed)
  • EASE_LOGGER - one of memory,console,file,syslog,email,std,eventlog or combination eg. "console|syslog"
  • EASE_EMAILTO - recipient email address for Ease/Logger/ToMail
  • EASE_SMTP - Custom SMTP Settings (JSON Encoded)
  • LOG_DIRECTORY - destination for ToFile logger
  • LOG_OPTION - syslog option argument
  • LOG_FACILITY - syslog facility argument


You can use any combination of this logging modules:

  • memory - log to array in memory
  • console - log to ansi sequence capable console
  • file - log to specified file
  • syslog - log to linux syslog service
  • email - send all messages to constant('EASE_EMAILTO') at end
  • std - write messages to stdout/stderr
  • eventlog - log to Windows eventlog
  define('EASE_LOGGER', 'console|syslog');
  $logger = new \Ease\Sand();
  $logger->addStatusMessage('Error Message', 'error');


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


Simply run make deb