Skip to content

Extending classes and widgets for EasePHP framework

License

Notifications You must be signed in to change notification settings

VitexSoftware/php-ease-bricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


Bricks Included

OldTerminal

Old Terminal

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/');

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-core-bricks

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

For Debian, Ubuntu & friends please use repo:

sudo apt install lsb-release wget apt-transport-https bzip2


wget -qO- https://repo.vitexsoftware.com/keyring.gpg | sudo tee /etc/apt/trusted.gpg.d/vitexsoftware.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/vitexsoftware.gpg]  https://repo.vitexsoftware.com  $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo apt update
sudo apt install php-vitexsoftware-ease-bricks

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

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

Note

All classes extendig booststrap classed was moved to separate libraries

About

Extending classes and widgets for EasePHP framework

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages