PHPackages                             vitexsoftware/ease-bootstrap5-widgets - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. vitexsoftware/ease-bootstrap5-widgets

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vitexsoftware/ease-bootstrap5-widgets
=====================================

EasePHP framework addons and code snipplets

1.4.2(8mo ago)21331[6 issues](https://github.com/VitexSoftware/php-ease-twbootstrap5-widgets/issues)[5 PRs](https://github.com/VitexSoftware/php-ease-twbootstrap5-widgets/pulls)MITPHP

Since Apr 8Pushed 1mo agoCompare

[ Source](https://github.com/VitexSoftware/php-ease-twbootstrap5-widgets)[ Packagist](https://packagist.org/packages/vitexsoftware/ease-bootstrap5-widgets)[ Docs](https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi)[ Patreon](https://www.patreon.com/VitexSoftware)[ RSS](/packages/vitexsoftware-ease-bootstrap5-widgets/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (6)Versions (8)Used By (0)

[![EasePHP TWB5 Widgets Logo](php-vitexsoftware-ease-bootstrap5-widgets.svg?raw=true "Project Logo")](php-vitexsoftware-ease-bootstrap5-widgets.svg?raw=true)

EasePHP Twitter bootstrap5 Widgets
==================================

[](#easephp-twitter-bootstrap5-widgets)

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

[![Latest Stable Version](https://camo.githubusercontent.com/aa446cd0036c3cf57ce60f82a8112948705a099ac9a18a518a77b10886152f4c/68747470733a2f2f706f7365722e707567782e6f72672f7669746578736f6674776172652f656173652d7477626f6f747374726170352d776964676574732f76)](//packagist.org/packages/vitexsoftware/ease-twbootstrap5-widgets)[![Total Downloads](https://camo.githubusercontent.com/25668bbbc28a2bcc7bc31c3505e30413448615e64f40334a42af75c72f2247b6/68747470733a2f2f706f7365722e707567782e6f72672f7669746578736f6674776172652f656173652d7477626f6f747374726170352d776964676574732f646f776e6c6f616473)](//packagist.org/packages/vitexsoftware/ease-twbootstrap5-widgets)[![Latest Unstable Version](https://camo.githubusercontent.com/8f5996bc84e9f8d62086ea93ee925a2358f08f189a44faff150bc063236c9924/68747470733a2f2f706f7365722e707567782e6f72672f7669746578736f6674776172652f656173652d7477626f6f747374726170352d776964676574732f762f756e737461626c65)](//packagist.org/packages/vitexsoftware/ease-twbootstrap5-widgets)[![License](https://camo.githubusercontent.com/353966c1fa427972a62620f52d6d5d582d274011be0dddcbe227d6c07cf53c5f/68747470733a2f2f706f7365722e707567782e6f72672f7669746578736f6674776172652f656173652d7477626f6f747374726170352d776964676574732f6c6963656e7365)](//packagist.org/packages/vitexsoftware/ease-twbootstrap5-widgets)

[![Monthly Downloads](https://camo.githubusercontent.com/7d1b4aeea47109a64e4a2661d0f1bc8dc4bbd897c5a6380d8a71c1f3f7254f0e/68747470733a2f2f706f7365722e707567782e6f72672f7669746578736f6674776172652f656173652d7477626f6f747374726170352d776964676574732f642f6d6f6e74686c79)](//packagist.org/packages/vitexsoftware/ease-twbootstrap5-widgets)[![Dependents](https://camo.githubusercontent.com/4895d04fe42817b7182e18d355ae60fa8599bc34a763462f23bcea681dd65209/68747470733a2f2f706f7365722e707567782e6f72672f7669746578736f6674776172652f656173652d7477626f6f747374726170352d776964676574732f646570656e64656e7473)](//packagist.org/packages/vitexsoftware/ease-twbootstrap5-widgets)[![Daily Downloads](https://camo.githubusercontent.com/ae2c5d11dd210d286d28a2b7a50471faafc138b7b52d51621b42d8dd8ac73266/68747470733a2f2f706f7365722e707567782e6f72672f7669746578736f6674776172652f656173652d7477626f6f747374726170352d776964676574732f642f6461696c79)](//packagist.org/packages/vitexsoftware/ease-twbootstrap5-widgets)[![Total Downloads](https://camo.githubusercontent.com/25668bbbc28a2bcc7bc31c3505e30413448615e64f40334a42af75c72f2247b6/68747470733a2f2f706f7365722e707567782e6f72672f7669746578736f6674776172652f656173652d7477626f6f747374726170352d776964676574732f646f776e6c6f616473)](//packagist.org/packages/vitexsoftware/ease-twbootstrap5-widgets)

---

Bricks Included
===============

[](#bricks-included)

- Toggle - Bootstrap 5 switch/toggle component
- Selectizer - Select with search functionality
- MainPageMenu - Large icon navigation menu
- LangSelect - Language selector dropdown
- LangLinks - Language selector navigation links

Bootstrap5 Toggle
-----------------

[](#bootstrap5-toggle)

Ease support for

[![Toggle](Toggle.png?raw=true)](Toggle.png?raw=true)

```
new Ease\TWB5\Widgets\Toggle('swname', true, 1,['onText' => 'YES', 'offText' => 'NO']);
```

Language Selector Dropdown (LangSelect)
---------------------------------------

[](#language-selector-dropdown-langselect)

Bootstrap 5 dropdown-based language selector that integrates with `Ease\Locale` for internationalization.

```
// Basic usage
$langSelector = new \Ease\TWB5\Widgets\LangSelect();

// With custom URL parameter name (default is 'locale')
$langSelector = new \Ease\TWB5\Widgets\LangSelect('lang');

// With additional properties
$langSelector = new \Ease\TWB5\Widgets\LangSelect('locale', ['class' => 'dropdown my-custom-class']);
```

Features:

- Automatically detects available languages from `Ease\Locale`
- Shows current language with a globe icon (Bootstrap Icons)
- Preserves existing URL parameters when switching languages
- Fully styled with Bootstrap 5 dropdown component
- Active language is highlighted in the dropdown menu
- Uses Bootstrap 5's `data-bs-toggle` attributes

Language Navigation Links (LangLinks)
-------------------------------------

[](#language-navigation-links-langlinks)

Bootstrap 5 navigation-style language selector that displays languages as pills or tabs.

```
// Basic usage (nav pills style)
$langLinks = new \Ease\TWB5\Widgets\LangLinks();

// As navigation tabs
$langLinks = new \Ease\TWB5\Widgets\LangLinks(['class' => 'nav nav-tabs']);

// New Bootstrap 5 underline style
$langLinks = new \Ease\TWB5\Widgets\LangLinks(['class' => 'nav nav-underline']);

// Inline style
$langLinks = new \Ease\TWB5\Widgets\LangLinks(['class' => 'nav nav-pills d-inline-flex']);

// Vertical layout
$langLinks = new \Ease\TWB5\Widgets\LangLinks(['class' => 'nav flex-column']);
```

Features:

- Displays all available languages as navigation links
- Supports all Bootstrap 5 nav styles (pills, tabs, underline)
- Current language is marked as active
- Can be used inline or as block element
- Preserves URL parameters when switching languages

Installation
------------

[](#installation)

Composer:
---------

[](#composer)

```
composer require vitexsoftware/ease-twbootstrap5-widgets
```

Older versions and its requirements

For Debian, Ubuntu &amp; friends please use repo:

```
sudo apt install php-vitexsoftware-ease-bootstrap5-widgets
```

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
        }
    },
    {
        "type": "path",
        "url": "/usr/share/php/EaseTWB5",
        "options": {
            "symlink": true
        }
    },
    {
        "type": "path",
        "url": "/usr/share/php/EaseTWB5Widgets",
        "options": {
            "symlink": true
        }
    }
]

```

Links
=====

[](#links)

Homepage:

GitHub:

PhpDocumentor:

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance58

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~184 days

Total

2

Last Release

256d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f24039b55245f141b108d0245b5821fe6cc4bb0585e36283f97301cd3aa792bc?d=identicon)[vitex](/maintainers/vitex)

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/vitexsoftware-ease-bootstrap5-widgets/health.svg)

```
[![Health](https://phpackages.com/badges/vitexsoftware-ease-bootstrap5-widgets/health.svg)](https://phpackages.com/packages/vitexsoftware-ease-bootstrap5-widgets)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
