Download the PHP package vitexsoftware/ease-framework without Composer
On this page you can find all versions of the php package vitexsoftware/ease-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vitexsoftware/ease-framework
More information about vitexsoftware/ease-framework
Files in vitexsoftware/ease-framework
Package ease-framework
Short Description An PHP Framework for Ease of writing Applications
License GPL-2.0-or-later
Homepage http://v.s.cz/ease.php
Informations about the package ease-framework
EasePHP Framework
Object oriented PHP Framework for easy&fast writing small/middle sized apps.
Installation
Download https://github.com/VitexSoftware/EaseFramework/archive/master.zip or use
Composer:
composer require vitexsoftware/ease-framework
Linux
For Debian, Ubuntu & friends please use repo:
In this case please add this to your app composer.json:
Docker:
To get Docker image:
docker pull vitexsoftware/easephpframework
Framework Constants
- EASE_APPNAME - common name of application. Mainly used in logs.
- EASE_LOGGER - one of memory,console,file,syslog,email,std,eventlog or combination "console|syslog"
- EASE_EMAILTO - recipient for Ease/Logger/ToMail
- EASE_SMTP - Custom SMTP Settings (JSON Encoded)
- DB_TYPE - pgsql|mysql|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)
Example
Twitter Bootstrap page with simple Form
Logging
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
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:
Building
Simply run make deb
Links
Homepage: https://www.vitexsoftware.cz/ease.php
GitHub: https://github.com/VitexSoftware/EaseFramework
Apigen Docs: https://www.vitexsoftware.cz/ease-framework/
Modular & Lightweight successor library: https://github.com/VitexSoftware/ease-core