PHP Package: kartik-v/yii2-widget-select2

Enhance your Yii2 forms with the Select2 widget for improved user experience and dynamic data handling.

Current Version: 2.2.5
Last Updated: 2023-06-22
PHP Requirement: >=7.4
Dependencies:
kartik-v/yii2-widgets
kartik-v/yii2-bootstrap4
kartik-v/yii2-jui
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The Yii2 Select2 widget offers seamless integration, customizable templates, AJAX support, and easy-to-use features, enhancing user interactivity and data selection. This flexible and powerful extension simplifies form inputs, providing a rich selection experience for users.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.2.5

Download Download v2.2.5

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/kartik-v/yii2-widget-select2/2.2.5/loader.php';
require_once 'libs/kartik-v/yii2-widgets/3.4.1/loader.php';
require_once 'libs/kartik-v/yii2-bootstrap4/{lib_version}/loader.php';
require_once 'libs/kartik-v/yii2-jui/{lib_version}/loader.php';

use kartik\select2\Select2;
use kartik\select2\Select2Asset;

$obj = new Select2();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.