https://github.com/vitexsoftware/php-ease-core
EasePHP Core Library
https://github.com/vitexsoftware/php-ease-core
ease php-framework php-library
Last synced: 8 months ago
JSON representation
EasePHP Core Library
- Host: GitHub
- URL: https://github.com/vitexsoftware/php-ease-core
- Owner: VitexSoftware
- License: mit
- Created: 2019-01-11T21:21:04.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-10T17:44:15.000Z (8 months ago)
- Last Synced: 2025-02-10T18:34:21.995Z (8 months ago)
- Topics: ease, php-framework, php-library
- Language: PHP
- Size: 1.35 MB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

EasePHP Framework Core
======================Object oriented PHP Framework for easy&fast writing small/middle sized apps.
[](https://github.com/VitexSoftware/ease-core/releases)
[](https://github.com/VitexSoftware/ease-core/blob/master/LICENSE)
[](https://scrutinizer-ci.com/g/VitexSoftware/ease-core/?branch=master)
[](https://scrutinizer-ci.com/g/VitexSoftware/ease-core/?branch=master)
[](https://scrutinizer-ci.com/g/VitexSoftware/ease-core/build-status/master)
[](https://scrutinizer-ci.com/code-intelligence)
[](https://packagist.org/packages/vitexsoftware/ease-core)
[](https://packagist.org/packages/vitexsoftware/ease-core)
[](https://packagist.org/packages/vitexsoftware/ease-core)
[](https://packagist.org/packages/vitexsoftware/ease-core)
[](https://packagist.org/packages/vitexsoftware/ease-core)
[](https://packagist.org/packages/vitexsoftware/ease-core)
[](https://packagist.org/packages/vitexsoftware/ease-core)
[](https://packagist.org/packages/vitexsoftware/ease-core)---
Installation
============Composer:
---------
composer require vitexsoftware/ease-coreDocker:
-------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](https://pear.php.net/manual/en/package.mail.mail.factory.php) (JSON Encoded)
* EASE_FROM - Sent mail sender address
* LOG_DIRECTORY - destination for ToFile logger
* LOG_OPTION - syslog option argument
* LOG_FACILITY - syslog facility argumentLogging
-------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```php
define('EASE_LOGGER', 'console|syslog');
$logger = new \Ease\Sand();
$logger->addStatusMessage('Error Message', 'error');
```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
```Building
--------Simply run **make deb**
Links
=====Homepage: https://www.vitexsoftware.cz/ease.php
GitHub: https://github.com/VitexSoftware/ease-core
phpDocumentor: http://vitexsoftware.cz/php-ease-core/