{"id":15286591,"url":"https://github.com/vitexsoftware/easeframework","last_synced_at":"2025-10-07T01:31:00.258Z","repository":{"id":12079850,"uuid":"14667409","full_name":"VitexSoftware/EaseFramework","owner":"VitexSoftware","description":"[DEPRECATED] Framework for easy and quick typing PHP applications using current web technologies.  :loud_sound:  Please use new version","archived":true,"fork":false,"pushed_at":"2019-11-12T15:59:27.000Z","size":2473,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-09T13:37:17.426Z","etag":null,"topics":["debian","easephp","html5","php","php-framework","php-library","php7","twitter-bootstrap"],"latest_commit_sha":null,"homepage":"https://github.com/VitexSoftware/php-ease-core","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VitexSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-24T19:14:07.000Z","updated_at":"2024-07-31T14:56:15.000Z","dependencies_parsed_at":"2022-09-18T20:51:18.018Z","dependency_job_id":null,"html_url":"https://github.com/VitexSoftware/EaseFramework","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitexSoftware%2FEaseFramework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitexSoftware%2FEaseFramework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitexSoftware%2FEaseFramework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VitexSoftware%2FEaseFramework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VitexSoftware","download_url":"https://codeload.github.com/VitexSoftware/EaseFramework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235575693,"owners_count":19012156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debian","easephp","html5","php","php-framework","php-library","php7","twitter-bootstrap"],"created_at":"2024-09-30T15:17:17.749Z","updated_at":"2025-10-07T01:30:59.747Z","avatar_url":"https://github.com/VitexSoftware.png","language":"PHP","readme":"![EasePHP Framework Logo](https://raw.githubusercontent.com/VitexSoftware/EaseFramework/master/project-logo.png \"Project Logo\")\n\nEasePHP Framework\n=================\n\nObject oriented PHP Framework for easy\u0026fast writing small/middle sized apps.\n\n[![Source Code](http://img.shields.io/badge/source-VitexSoftware/EaseFramework-blue.svg?style=flat-square)](https://github.com/VitexSoftware/EaseFramework)\n[![Latest Version](https://img.shields.io/github/release/VitexSoftware/EaseFramework.svg?style=flat-square)](https://github.com/VitexSoftware/EaseFramework/releases)\n[![Software License](https://img.shields.io/badge/license-GPL-brightgreen.svg?style=flat-square)](https://github.com/VitexSoftware/EaseFramework/blob/master/LICENSE)\n[![Build Status](https://img.shields.io/travis/VitexSoftware/EaseFramework/master.svg?style=flat-square)](https://travis-ci.org/VitexSoftware/EaseFramework)\n[![Total Downloads](https://img.shields.io/packagist/dt/vitexsoftware/ease-framework.svg?style=flat-square)](https://packagist.org/packages/vitexsoftware/ease-framework)\n[![Docker pulls](https://img.shields.io/docker/pulls/vitexsoftware/ease-framework.svg)](https://hub.docker.com/r/vitexsoftware/ease-framework/)\n[![Latest stable](https://img.shields.io/packagist/v/vitexsoftware/ease-framework.svg?style=flat-square)](https://packagist.org/packages/vitexsoftware/ease-framework)\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/4900ce8c-8619-4007-b2d6-0ac830064963/big.png)](https://insight.sensiolabs.com/projects/4900ce8c-8619-4007-b2d6-0ac830064963)\n\n[![Latest Stable Version](https://poser.pugx.org/vitexsoftware/ease-framework/v/stable)](https://packagist.org/packages/vitexsoftware/ease-framework)\n[![Total Downloads](https://poser.pugx.org/vitexsoftware/ease-framework/downloads)](https://packagist.org/packages/vitexsoftware/ease-framework)\n[![Latest Unstable Version](https://poser.pugx.org/vitexsoftware/ease-framework/v/unstable)](https://packagist.org/packages/vitexsoftware/ease-framework)\n[![Latest Unstable Version](https://poser.pugx.org/vitexsoftware/ease-framework/v/unstable)](https://packagist.org/packages/vitexsoftware/ease-framework)\n[![License](https://poser.pugx.org/vitexsoftware/ease-framework/license)](https://packagist.org/packages/vitexsoftware/ease-framework)\n[![Monthly Downloads](https://poser.pugx.org/vitexsoftware/ease-framework/d/monthly)](https://packagist.org/packages/vitexsoftware/ease-framework)\n[![Daily Downloads](https://poser.pugx.org/vitexsoftware/ease-framework/d/daily)](https://packagist.org/packages/vitexsoftware/ease-framework)\n\n---\n\nInstallation\n============\n\nDownload https://github.com/VitexSoftware/EaseFramework/archive/master.zip or use\n\nComposer:\n---------\n    composer require vitexsoftware/ease-framework\n\nLinux\n-----\n\nFor Debian, Ubuntu \u0026 friends please use repo:\n\n```\n    wget -O - http://v.s.cz/info@vitexsoftware.cz.gpg.key|sudo apt-key add -\n    echo deb http://v.s.cz/ stable main | sudo tee /etc/apt/sources.list.d/vitexsoftware.list \n    sudo apt update\n    sudo apt install ease-framework\n```\n\nIn this case please add this to your app composer.json:\n\n```json\n    \"require\": {\n        \"ease-framework\": \"*\"\n    },\n    \"repositories\": [\n        {\n            \"type\": \"path\",\n            \"url\": \"/usr/share/php/Ease\",\n            \"options\": {\n                \"symlink\": true\n            }\n        }\n    ]\n```\n\n\nDocker:\n-------\n\nTo get Docker image:\n\n    docker pull vitexsoftware/easephpframework\n\n\nFramework Constants\n===================\n\n  * EASE_APPNAME - common name of application. Mainly used in logs.\n  * EASE_LOGGER  - one of memory,console,file,syslog,email,std,eventlog or combination \"console|syslog\"\n  * EASE_EMAILTO - recipient for Ease/Logger/ToMail\n  * EASE_SMTP    - Custom SMTP Settings (JSON Encoded) \n  * DB_TYPE      - pgsql|mysql|sqlite|...\n  * DB_HOST      - localhost is default \n  * DB_PORT      - database port \n  * DB_DATABASE  - database schema name\n  * DB_USERNAME  - database user login name\n  * DB_PASSWORD  - database user password\n  * DB_SETUP     - database setup command (executed directly after connect)\n\n\n\nExample\n=======\n\nTwitter Bootstrap page with simple Form\n----------------------\n\n```php\n$oPage = new \\Ease\\TWB\\WebPage('Page title');\n$form = $oPage-\u003eaddItem( new \\Ease\\TWB\\Form('ExampleForm') );\n$form-\u003eaddItem(new \\Ease\\Html\\InputTextTag('Name'));\n$form-\u003eaddItem(new \\Ease\\TWB\\SubmitButton('OK', 'success') );\n$oPage-\u003edraw();\n```\n\nLogging\n-------\n\n You can use any combination of this logging modules:\n\n   * memory     - log to array in memory\n   * console    - log to ansi sequence capable console\n   * file       - log to specified file\n   * syslog     - log to linux syslog service\n   * email      - send all messages to constant('EASE_EMAILTO') at end\n   * std        - write messages to stdout/stderr\n   * eventlog   - log to Windows eventlog \n\n  ```php\n    define('EASE_LOGGER', 'console|syslog');\n    $logger = new \\Ease\\Sand();\n    $logger-\u003eaddStatusMessage('Error Message', 'error');\n  ```\n\n\nTesting\n-------\n\nAt first you need initialise create sql user \u0026 database with login and password \nfrom testing/phinx.yml and initialise testing database by **phinx migrate** \ncommand:\n\n```\ncomposer update\ncd tests\nmysqladmin -u root -p create easetest\nmysql -u root -p -e \"GRANT ALL PRIVILEGES ON easetest.* TO easetest@localhost IDENTIFIED BY 'easetest'\"\nsudo -u postgres bash -c \"psql -c \\\"CREATE USER easetest WITH PASSWORD 'easetest';\\\"\"\nsudo -u postgres bash -c \"psql -c \\\"create database easetest with owner easetest encoding='utf8' template template0;\\\"\"\n../vendor/bin/phinx migrate -e development \n../vendor/bin/phinx migrate -e testing  \n```\n\nBuilding\n--------\n\nSimply run **make deb**\n\nLinks\n=====\n\nHomepage: https://www.vitexsoftware.cz/ease.php\n\nGitHub: https://github.com/VitexSoftware/EaseFramework\n\nApigen Docs: https://www.vitexsoftware.cz/ease-framework/\n\nModular \u0026 Lightweight successor library: https://github.com/VitexSoftware/ease-core\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitexsoftware%2Feaseframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitexsoftware%2Feaseframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitexsoftware%2Feaseframework/lists"}