{"id":93541,"library":"select2-select2","title":"Select2","description":"Select2 is a jQuery based replacement for select boxes.","status":"active","version":"4.1.0","language":"php","source_language":null,"source_url":"https://github.com/select2/select2","tags":["select2","jquery","ui","dropdown"],"install":[{"cmd":"composer require select2/select2","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Select2","correct":"use Select2\\Select2;"}],"quickstart":{"code":"<?php\n// This is a JavaScript library; PHP usage is via asset inclusion.\n// Example: echo '<link href=\"select2.min.css\" rel=\"stylesheet\" />';","lang":"php","description":"Include Select2 assets in a PHP view."},"warnings":[{"fix":"Add jQuery before Select2 scripts.","message":"Select2 4.1.0 requires jQuery 1.8+; ensure jQuery is loaded.","severity":"gotcha","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'base':6 'box':10 'dropdown':14 'jqueri':5,12 'replac':7 'select':9 'select2':1,2,11 'ui':13","created_at":"2026-06-19T09:50:41.217930+00:00","updated_at":"2026-06-19T09:50:41.217930+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://select2.org/","github":"https://github.com/select2/select2","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}