Registry / other / select2-select2

select2-select2

JSON →
library4.1.0phppackagistunverified

Select2 is a jQuery based replacement for select boxes.

composer require select2/select2
INSTALL
IMPORT
SIG · SELECT2-SELECT2
S
select2-select2
otherphpv4.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Select2
✓ use Select2\Select2;

Include Select2 assets in a PHP view.

<?php // This is a JavaScript library; PHP usage is via asset inclusion. // Example: echo '<link href="select2.min.css" rel="stylesheet" />';
Debug
Known issues
gotchaSelect2 4.1.0 requires jQuery 1.8+; ensure jQuery is loaded.
fix
Add jQuery before Select2 scripts.
affects: >=4.0.0
Upgrade
Version history
4.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
select2-select2 — pip install select2-select2 · libregistry