Simple PHP framework Bricks
desktop applicationUtilityapt install php-vitexsoftware-ease-html-widgetsAddon components for EasePHP Framework ApiGen html documentation for ease-framework php library
Welcome to the VitexSoftware Ease HTML Widgets project! This repository contains a collection of reusable HTML widgets for PHP applications.
VitexSoftware Ease HTML Widgets is a library designed to simplify the creation and management of HTML widgets in PHP applications. It provides a set of pre-built widgets that can be easily integrated into your projects.
To install the library, you can use Composer:
composer require vitexsoftware/ease-html-widgets
Here is a basic example of how to use one of the widgets:
require '../vendor/autoload.php';
use \VitexSoftware\Ease\Html\Widgets\SandClock();
$widget = new SandClock();
echo $widget;
It gives you nice SandClock

Simple chooser of availble locales
new \Ease\ui\LangSelect()

Show live age based on unix timestamp
new \Ease\ui\LiveAge(new DateTime);

new BrowsingHistory();

new StickyNote();

Apply Selectize.js to InputBox or Select
class Selector extends \Ease\Html\SelectTag
{
use \Ease\Html\Widgets\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);

We welcome contributions! Please read our contributing guidelines to get started.
This project is licensed under the MIT License. See the LICENSE file for details.
To install using Debian packages from repo.vitexsoftware.com, follow these steps:
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-get update
sudo apt-get install php-vitexsoftware-ease-html-widgets