No description
Find a file
2025-08-30 21:56:50 +02:00
.github Create FUNDING.yml 2021-02-13 23:50:04 +01:00
db/migrations GDPR Logger Class added 2019-05-13 04:23:01 +02:00
debian Update debian/Jenkinsfile to latest version from DebianRepository 2025-08-30 21:56:50 +02:00
Examples Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
i18n LocaleSelect widget added 2018-06-27 18:24:48 +02:00
nbproject PHPUnit disabled 2021-09-13 22:38:07 +02:00
src/Ease/TWB/Widgets Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
tests Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
.directory Sticky Note added 2018-10-05 17:21:33 +02:00
.gitattributes Initial Commit 2017-11-11 20:09:00 +01:00
.gitignore Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
.php-cs-fixer.dist.php Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
.phpunit.result.cache Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
.scrutinizer.yml Initial Commit 2017-11-11 20:09:00 +01:00
.travis.yml TravisCI config update 2017-12-25 20:02:10 +01:00
BooleanLED.png BooleanLED screenshot added 2017-12-23 02:46:07 +01:00
BrowsingHistory.png BrowsingHistory class added 2018-09-18 11:36:23 +02:00
codeception.yml Initial Commit 2017-11-11 20:09:00 +01:00
composer.json Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
Dockerfile Initial Commit 2017-11-11 20:09:00 +01:00
LICENSE Initial Commit 2017-11-11 20:09:00 +01:00
LiveAge.png LiveAge widget added 2018-06-29 15:47:55 +02:00
LocaleSelect.png LocaleSelect widget added 2018-06-27 18:24:48 +02:00
MainPageMenu.png The MainPageMenu brick Was Added 2017-12-20 18:09:42 +01:00
Makefile Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
PasswordInput.png Password input with eye icon to show plaintext 2018-07-01 23:48:58 +02:00
phpstan-default-baseline.neon Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
phpstan-default.neon.dist Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
phpunit.xml Refactor and enhance code quality across multiple widget files 2025-05-13 10:05:17 +02:00
project-icon-400.png Layout update 2019-10-03 23:38:23 +02:00
project-logo.png Layout update 2019-10-03 23:38:23 +02:00
project-logo.svg Layout update 2019-10-03 23:38:23 +02:00
README.md twbootstrap renamed to bootstrap 2020-06-10 17:26:03 +02:00
Selectizer.png Selecitizer example 2019-05-22 11:55:23 +02:00
SignIn.png Singn In form added 2018-06-30 01:52:54 +02:00
StickyNote.png Sticky Note added 2018-10-05 17:21:33 +02:00
TreeView.png TreeView added 2018-06-20 16:25:28 +02:00
TWBSwitch.png The MainPageMenu brick Was Added 2017-12-20 18:09:42 +01:00

EasePHP Framework Logo

EasePHP Bricks

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

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

SensioLabsInsight


Bricks Included

GDPR Logger

Log all GDPR related information into SQL table

MainPageMenu

Well framed large icons

MainPageMenu

$mpmenu = new \Ease\ui\MainPageMenu();
$mpmenu->addMenuItem('logo.png', 'Caption', 'https://url/');

TwitterBootstrap Switch

Ease support for http://bootstrapswitch.com/

TWBSwitch

new Ease\ui\TWBSwitch('swname', true, 1,['onText' => 'YES', 'offText' => 'NO']);

The libjs-bootstrap-switch package with requied js/css assets is already present in our repository https://www.vitexsoftware.cz/repo.php

Boolean LED

Show light or dark circle in given color.

Boolean LED

new \Ease\ui\BooleanLED(false, 'green');

Tree View

Ease Support for http://jonmiles.github.io/bootstrap-treeview/ A simple and elegant solution to displaying hierarchical tree structures (i.e. a Tree View)

TreeView

new \Ease\ui\TBWTreeView('tree', 'data: getTree()');

Locale Select

Simple chooser of availble locales

new \Ease\ui\LangSelect()

LocaleSelect

Live Age

Show live age based on unix timestamp

new \Ease\ui\LiveAge(1530280004);    

LiveAge

Sign In form

Classic form with username input password input and submit button

new \Ease\ui\SignInForm();

Sign In

Password Input

With eye icon to show plaintext

new PasswordInput($this->passwordField);

Password Input

Browsing History

new BrowsingHistory();

Browsing History

Sticky note

new StickyNote();

Sticky Note

Selectizer trait

Apply Selectize.js to InputBox or Select

class Selector extends \Ease\Html\SelectTag
{
    use \Ease\ui\Selectizer;
}

$properties = [
    'valueField' => 'value',
    'labelField' => 'key',
    'searchField' => ['key', 'value']
];

$options = [
    ['key' => 'red', 'value' => 'Red'],
    ['key' => 'blue', 'value' => 'Blue'],
    ['key' => 'green', 'value' => 'Green'],
    ['key' => 'yellow', 'value' => 'Yellow'],
];

$s = new Selector('selector');
$s->selectize($properties, $options);

Selectizer

Installation

Composer:

composer require vitexsoftware/ease-bricks

Older versions and its requirements https://packagist.org/packages/vitexsoftware/ease-bricks

To get Docker image:

docker pull vitexsoftware/ease-bricks

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 > /etc/apt/sources.list.d/ease.list
aptitude update
aptitude install ease-bricks

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

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

Links

Homepage: https://www.vitexsoftware.cz/ease.php

GitHub: https://github.com/VitexSoftware/Ease-PHP-Bricks

Apigen Docs: https://www.vitexsoftware.cz/ease-php-bricks/