ease-framework

ease-framework 1.29

Simple PHP framework Support ORM, HTML5, jQueryUI and TwitterBootstrap Classes.
Filename  pool/main/e/ease-framework/ease-framework_1.29_all.deb
Version 1.29
Age in days29
Release date2019 05. 28.
Size66.46 KiB
Installs437
Downloads1648
size 68056 bytescontrol archive=5587 bytes.
Packageease-framework
Architectureall
MaintainerVítězslav Dvořák
Installed-Size474
Dependslibjs-jquery (>= 1.4) , libjs-jquery-ui , php-mail , php-mail-mime , libjs-bootstrap , php-mdb2-driver-mysql , composer
Sectionweb
Priorityoptional
Homepagehttps://github.com/VitexSoftware/EaseFramework
DescriptionSimple PHP framework
ease-framework

see also

composer
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/ease-framework
/usr/share/doc/ease-framework/README.Debian
/usr/share/doc/ease-framework/changelog.gz
/usr/share/doc/ease-framework/copyright
/usr/share/php
/usr/share/php/Ease
/usr/share/php/Ease/Anonym.php
/usr/share/php/Ease/Atom.php
/usr/share/php/Ease/Brick.php
/usr/share/php/Ease/Container.php
/usr/share/php/Ease/Exception.php
/usr/share/php/Ease/Html
/usr/share/php/Ease/Html/ATag.php
/usr/share/php/Ease/Html/AddressTag.php
/usr/share/php/Ease/Html/ArticleTag.php
/usr/share/php/Ease/Html/AsideTag.php
/usr/share/php/Ease/Html/AudioTag.php
/usr/share/php/Ease/Html/BdiTag.php
/usr/share/php/Ease/Html/BodyTag.php
/usr/share/php/Ease/Html/ButtonTag.php
/usr/share/php/Ease/Html/CanvasTag.php
/usr/share/php/Ease/Html/CheckboxGroup.php
/usr/share/php/Ease/Html/CheckboxTag.php
/usr/share/php/Ease/Html/DatalistTag.php
/usr/share/php/Ease/Html/DdTag.php
/usr/share/php/Ease/Html/DetailsTag.php
/usr/share/php/Ease/Html/DialogTag.php
/usr/share/php/Ease/Html/DivTag.php
/usr/share/php/Ease/Html/DlTag.php
/usr/share/php/Ease/Html/DtTag.php
/usr/share/php/Ease/Html/EmTag.php
/usr/share/php/Ease/Html/EmbedTag.php
/usr/share/php/Ease/Html/FieldSet.php
/usr/share/php/Ease/Html/FigCaptionTag.php
/usr/share/php/Ease/Html/FigureTag.php
/usr/share/php/Ease/Html/FooterTag.php
/usr/share/php/Ease/Html/Form.php
/usr/share/php/Ease/Html/H1Tag.php
/usr/share/php/Ease/Html/H2Tag.php
/usr/share/php/Ease/Html/H3Tag.php
/usr/share/php/Ease/Html/H4Tag.php
/usr/share/php/Ease/Html/HeadTag.php
/usr/share/php/Ease/Html/HeaderTag.php
/usr/share/php/Ease/Html/HrTag.php
/usr/share/php/Ease/Html/HtmlTag.php
/usr/share/php/Ease/Html/IframeTag.php
/usr/share/php/Ease/Html/ImgTag.php
/usr/share/php/Ease/Html/InputColorTag.php
/usr/share/php/Ease/Html/InputContainer.php
/usr/share/php/Ease/Html/InputDateTag.php
/usr/share/php/Ease/Html/InputDateTimeLocalTag.php
/usr/share/php/Ease/Html/InputDateTimeTag.php
/usr/share/php/Ease/Html/InputEmailTag.php
/usr/share/php/Ease/Html/InputFileTag.php
/usr/share/php/Ease/Html/InputHiddenTag.php
/usr/share/php/Ease/Html/InputMonthTag.php
/usr/share/php/Ease/Html/InputNumberTag.php
/usr/share/php/Ease/Html/InputPasswordTag.php
/usr/share/php/Ease/Html/InputRadioTag.php
/usr/share/php/Ease/Html/InputRangeTag.php
/usr/share/php/Ease/Html/InputSearchTag.php
/usr/share/php/Ease/Html/InputSubmitTag.php
/usr/share/php/Ease/Html/InputTag.php
/usr/share/php/Ease/Html/InputTelTag.php
/usr/share/php/Ease/Html/InputTextTag.php
/usr/share/php/Ease/Html/InputTimeTag.php
/usr/share/php/Ease/Html/InputUrlTag.php
/usr/share/php/Ease/Html/InputWeekTag.php
/usr/share/php/Ease/Html/JavaScript.php
/usr/share/php/Ease/Html/KeygenTag.php
/usr/share/php/Ease/Html/LabelTag.php
/usr/share/php/Ease/Html/LiTag.php
/usr/share/php/Ease/Html/MainTag.php
/usr/share/php/Ease/Html/MarkTag.php
/usr/share/php/Ease/Html/MenuItemTag.php
/usr/share/php/Ease/Html/MetaTag.php
/usr/share/php/Ease/Html/MeterTag.php
/usr/share/php/Ease/Html/NavTag.php
/usr/share/php/Ease/Html/OlTag.php
/usr/share/php/Ease/Html/OptionTag.php
/usr/share/php/Ease/Html/OutputTag.php
/usr/share/php/Ease/Html/PTag.php
/usr/share/php/Ease/Html/PairTag.php
/usr/share/php/Ease/Html/ParamTag.php
/usr/share/php/Ease/Html/PreTag.php
/usr/share/php/Ease/Html/ProgressTag.php
/usr/share/php/Ease/Html/RadiobuttonGroup.php
/usr/share/php/Ease/Html/RpTag.php
/usr/share/php/Ease/Html/RtTag.php
/usr/share/php/Ease/Html/RubyTag.php
/usr/share/php/Ease/Html/ScriptTag.php
/usr/share/php/Ease/Html/SectionTag.php
/usr/share/php/Ease/Html/Select.php
/usr/share/php/Ease/Html/SelectTag.php
/usr/share/php/Ease/Html/SimpleHeadTag.php
/usr/share/php/Ease/Html/SmallTag.php
/usr/share/php/Ease/Html/SourceTag.php
/usr/share/php/Ease/Html/Span.php
/usr/share/php/Ease/Html/SpanTag.php
/usr/share/php/Ease/Html/StrongTag.php
/usr/share/php/Ease/Html/SubmitButton.php
/usr/share/php/Ease/Html/SummaryTag.php
/usr/share/php/Ease/Html/SvgTag.php
/usr/share/php/Ease/Html/TableTag.php
/usr/share/php/Ease/Html/Tag.php
/usr/share/php/Ease/Html/Tbody.php
/usr/share/php/Ease/Html/TdTag.php
/usr/share/php/Ease/Html/TextareaTag.php
/usr/share/php/Ease/Html/Tfoot.php
/usr/share/php/Ease/Html/ThTag.php
/usr/share/php/Ease/Html/Thead.php
/usr/share/php/Ease/Html/TimeTag.php
/usr/share/php/Ease/Html/TitleTag.php
/usr/share/php/Ease/Html/TrTag.php
/usr/share/php/Ease/Html/TrackTag.php
/usr/share/php/Ease/Html/UlTag.php
/usr/share/php/Ease/Html/VideoTag.php
/usr/share/php/Ease/Html/WbrTag.php
/usr/share/php/Ease/JQuery
/usr/share/php/Ease/JQuery/Part.php
/usr/share/php/Ease/JQuery/UIPart.php
/usr/share/php/Ease/Locale.php
/usr/share/php/Ease/Logger
/usr/share/php/Ease/Logger/Loggingable.php
/usr/share/php/Ease/Logger/Message.php
/usr/share/php/Ease/Logger/Regent.php
/usr/share/php/Ease/Logger/ToConsole.php
/usr/share/php/Ease/Logger/ToEmail.php
/usr/share/php/Ease/Logger/ToEventlog.php
/usr/share/php/Ease/Logger/ToFile.php
/usr/share/php/Ease/Logger/ToMemory.php
/usr/share/php/Ease/Logger/ToSQL.php
/usr/share/php/Ease/Logger/ToStd.php
/usr/share/php/Ease/Logger/ToSyslog.php
/usr/share/php/Ease/Mailer.php
/usr/share/php/Ease/Molecule.php
/usr/share/php/Ease/Page.php
/usr/share/php/Ease/SQL
/usr/share/php/Ease/SQL/MySQLi.php
/usr/share/php/Ease/SQL/Orm.php
/usr/share/php/Ease/SQL/PDO.php
/usr/share/php/Ease/SQL/SQL.php
/usr/share/php/Ease/Sand.php
/usr/share/php/Ease/Shared.php
/usr/share/php/Ease/TWB
/usr/share/php/Ease/TWB/Badge.php
/usr/share/php/Ease/TWB/ButtonDropdown.php
/usr/share/php/Ease/TWB/ButtonGroup.php
/usr/share/php/Ease/TWB/Carousel.php
/usr/share/php/Ease/TWB/CheckBoxGroup.php
/usr/share/php/Ease/TWB/Checkbox.php
/usr/share/php/Ease/TWB/Col.php
/usr/share/php/Ease/TWB/Container.php
/usr/share/php/Ease/TWB/Form.php
/usr/share/php/Ease/TWB/FormGroup.php
/usr/share/php/Ease/TWB/GlyphIcon.php
/usr/share/php/Ease/TWB/Label.php
/usr/share/php/Ease/TWB/LinkButton.php
/usr/share/php/Ease/TWB/ListGroup.php
/usr/share/php/Ease/TWB/Modal.php
/usr/share/php/Ease/TWB/Navbar.php
/usr/share/php/Ease/TWB/Pagination.php
/usr/share/php/Ease/TWB/Panel.php
/usr/share/php/Ease/TWB/Part.php
/usr/share/php/Ease/TWB/RadioButton.php
/usr/share/php/Ease/TWB/RadioButtonGroup.php
/usr/share/php/Ease/TWB/Row.php
/usr/share/php/Ease/TWB/StatusMessages.php
/usr/share/php/Ease/TWB/SubmitButton.php
/usr/share/php/Ease/TWB/Tabs.php
/usr/share/php/Ease/TWB/Textarea.php
/usr/share/php/Ease/TWB/WebPage.php
/usr/share/php/Ease/TWB/Well.php
/usr/share/php/Ease/TWB4
/usr/share/php/Ease/TWB4/Alert.php
/usr/share/php/Ease/TWB4/Badge.php
/usr/share/php/Ease/TWB4/Part.php
/usr/share/php/Ease/TWB4/PillBadge.php
/usr/share/php/Ease/TWB4/WebPage.php
/usr/share/php/Ease/User.php
/usr/share/php/Ease/WebPage.php
/usr/share/php/Ease/composer.json
<>

EasePHP Framework Logo

EasePHP Framework

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

Source Code Latest Version Software License Build Status Total Downloads Docker pulls Latest stable

SensioLabsInsight


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:

    wget -O - http://v.s.cz/info@vitexsoftware.cz.gpg.key|sudo apt-key add -
    echo deb http://v.s.cz/ stable main | sudo tee /etc/apt/sources.list.d/vitexsoftware.list 
    sudo apt update
    sudo apt install ease-framework

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

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

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

$oPage = new \Ease\TWB\WebPage('Page title');
$form = $oPage->addItem( new \Ease\TWB\Form('ExampleForm') );
$form->addItem(new \Ease\Html\InputTextTag('Name'));
$form->addItem(new \Ease\TWB\SubmitButton('OK', 'success') );
$oPage->draw();

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
  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:

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;\""
../vendor/bin/phinx migrate -e development 
../vendor/bin/phinx migrate -e testing  

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

VersionDownload/Install countLast hit
ease-framework_24222016-12-21 05:30:00
ease-framework_1.5.3612019-06-17 23:28:20
ease-framework_1.5.1612019-05-26 18:00:14
ease-framework_1.5.15542019-06-26 02:57:05
ease-framework_1.5.14342019-06-25 11:06:34
ease-framework_1.5.12172019-06-07 04:11:53
ease-framework_1.5.11442019-06-17 20:13:09
ease-framework_1.5.10872019-06-16 13:48:38
ease-framework_1.4.822018-05-12 21:03:18
ease-framework_1.4.8-552018-05-30 00:36:43
ease-framework_1.4.8-3352019-04-01 05:49:44
ease-framework_1.4.7332019-04-05 09:11:58
ease-framework_1.4.2-932018-01-22 19:08:19
ease-framework_1.4.2-8222019-04-02 22:34:53
ease-framework_1.4.2-622018-01-11 19:02:05
ease-framework_1.4.2-2212019-05-29 15:42:42
ease-framework_1.4.2-1162019-06-18 09:59:45
ease-framework_1.4.2-13272019-04-17 01:47:40
ease-framework_1.4.2-12162019-06-14 20:12:07
ease-framework_1.4.16152019-04-05 06:04:29
ease-framework_1.4.14322019-04-27 16:05:59
ease-framework_1.4.1322018-06-01 11:07:01
ease-framework_1.4.1112018-06-01 10:14:57
ease-framework_1.4.10162019-04-02 02:19:34
ease-framework_1.4.1-4312019-06-15 06:57:18
ease-framework_1.4.1-3142019-06-04 01:13:41
ease-framework_1.4.1-2132019-03-27 02:29:40
ease-framework_1.3.1-1202019-06-08 06:51:41
ease-framework_1.3.0-6242019-06-21 04:30:11
ease-framework_1.3.0-5132019-06-01 06:51:58
ease-framework_1.3.0-462017-12-16 10:07:10
ease-framework_1.3.0-212017-07-18 01:42:55
ease-framework_1.3.0-142017-07-18 00:10:45
ease-framework_1.29372019-06-25 11:04:51
ease-framework_1.27292019-06-24 03:02:33
ease-framework_1.25&12019-05-26 22:34:09
ease-framework_1.25482019-06-17 11:08:37
ease-framework_1.2322019-03-12 22:32:37
ease-framework_1.2252019-06-13 12:35:57
ease-framework_1.2.3-3182019-06-12 05:20:06
ease-framework_1.2.3-1292018-11-26 04:22:20
ease-framework_1.2.2-3352018-11-26 02:00:19
ease-framework_1.2.2-2172017-05-10 01:09:44
ease-framework_1.2.1-1122017-02-15 02:47:54
ease-framework_1.191052019-05-25 00:12:48
ease-framework_1.17&12019-01-31 09:59:40
ease-framework_1.17662019-06-07 18:27:11
ease-framework_1.1.3-40192017-03-08 13:00:22
ease-framework_1.1.3-3922017-01-13 15:40:12
ease-framework_1.1.3-3582018-11-29 21:01:36
ease-framework-doc_1.4.8-532018-06-26 14:50:11
ease-framework-doc_1.4.8-3362019-06-13 02:05:19
ease-framework-doc_1.4.7212019-04-02 14:39:11
ease-framework-doc_1.4.2-8132019-04-04 19:17:50
ease-framework-doc_1.4.2-4132019-03-25 22:26:02
ease-framework-doc_1.4.2-1122019-06-19 01:36:50
ease-framework-doc_1.4.2-13162019-04-01 11:27:13
ease-framework-doc_1.4.2-12162019-06-16 04:43:33
ease-framework-doc_1.4.10&12019-01-26 21:17:12
ease-framework-doc_1.4.101402019-06-25 11:11:04
ease-framework-doc_1.4.1-4302019-06-07 18:53:25
ease-framework-doc_1.4.1-3132019-06-11 23:19:36
ease-framework-doc_1.4.1-2112019-04-10 19:21:10
ease-framework-doc_1.3.1-1142019-06-18 13:47:19
ease-framework-doc_1.2.2-3492019-06-03 17:40:53
ease-framework-doc_1.2.2-2122017-05-10 01:39:10
ease-framework-doc_1.2.1-192017-03-03 15:27:42
ease-framework-doc_1.1.3-40162017-02-27 20:34:23
ease-framework-doc_1.1.3-3912017-01-08 23:36:43
ease-framework-doc_1.1.3-3562018-11-29 22:02:26
ease-framework-doc_1.1.3-1112018-11-26 04:24:57
ease-framework22017-08-24 17:49:57
ease-framework-bricks_0.9292019-06-26 23:55:16
ease-framework-bricks_0.8382019-06-23 01:07:45
ease-framework-bricks_0.7122019-06-01 08:20:12
ease-framework-bricks_0.61062019-05-27 15:34:02
ease-framework-bricks_0.5432019-06-24 02:46:57
ease-framework-bricks_0.4532019-05-24 04:15:26
ease-framework-bricks_0.3292019-05-31 22:55:24
ease-framework-bricks_0.2342019-06-12 01:03:57
ease-framework-bricks_0.112018-06-09 12:10:27
ease-framework-bricks-doc_0.7442019-06-25 11:24:38
ease-framework-bricks-doc_0.1&12019-01-31 23:23:41
ease-framework-bricks-doc_0.1912019-06-06 19:15:39
ease-framework_1.5.112018-08-27 23:29:59