Skip to content
Examples and Code Snipplets for Ease PHP Framework
PHP Other
  1. PHP 98.7%
  2. Other 1.3%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Examples
db/migrations
debian
i18n
nbproject
src/Ease
tests
.directory
.gitattributes
.gitignore
.scrutinizer.yml
.travis.yml
BooleanLED.png
BrowsingHistory.png
Dockerfile
LICENSE
LiveAge.png
LocaleSelect.png
MainPageMenu.png
Makefile
PasswordInput.png
README.md
Selectizer.png
SignIn.png
StickyNote.png
TWBSwitch.png
TreeView.png
codeception.yml
composer.json
phpunit.xml
project-icon-400.png
project-logo.png
project-logo.svg

README.md

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/Ease",
        "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/

You can’t perform that action at this time.