Download the PHP package jjj/chosen without Composer

On this page you can find all versions of the php package jjj/chosen. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package chosen

Chosen

Chosen makes long, unwieldy select boxes easier to use. This is the actively maintained fork of Harvest's original Chosen. The original project merged more than 300 pull requests, and this fork carries that work forward with new fixes, integrations, and editions. The Harvest issue review records which remaining upstream reports are covered, fixed, or out of scope.

Use the edition that fits your application:

Edition Package entry Status
jQuery chosen-jjj or chosen-jjj/jquery Classic, default entry
Prototype chosen-jjj/prototype Classic
Vanilla JavaScript chosen-jjj/native Experimental, no framework dependency
React chosen-jjj/react Experimental, React 18+ peer dependency

The classic and Vanilla editions enhance an existing <select>, which remains the source of form values. React supplies its own component and form integration. Both newer editions cover the listed classic options. Here, experimental means their API and generated markup are still settling, and they are not yet drop-in replacements for the classic adapters. For example, Tab on an open single select differs. See the adapter parity inventory for the current behavior.

Chosen's original compatibility target included Chrome, Firefox, Safari, and Internet Explorer 9. The full classic adapter browser suite runs in Chrome, and a focused Firefox test covers scrolled single-select Tab navigation in both adapters. The Vanilla, React, and touch suites also run in WebKit. Safari and Internet Explorer 9 are not currently covered by this fork's automated desktop tests. Please include your browser and library versions when reporting a compatibility issue.

For documentation, usage, and examples, see the jQuery demo, Prototype demo, vanilla demo, and React demo, plus the options reference. The wiki covers setup and common workflows. Applications updating from 3.x should read the 4.0 migration guide.

For downloads, see the GitHub releases.

Compiled Assets

The compiled JavaScript and CSS files are located in the /dist directory. This directory contains:

The /docs directory also contains copies of these files for GitHub Pages. GitHub Pages publishes it automatically when changes reach master. Each release includes both a full archive and a compiled distribution archive.

Package managers

To install with npm:

The default package entry loads the jQuery adapter through browser globals, AMD, or CommonJS. CommonJS consumers should install jQuery alongside Chosen and provide a DOM before requiring the packages. Explicit entries for the Prototype adapter, shared CSS, Sass, and the experimental framework-neutral ESM/CommonJS core are described in the package boundaries. The experimental editions have a Vanilla guide and a React guide. For large server-backed lists, see the opt-in remote source guide.

To install with Composer:

Contributing to this project

Contributions are welcome. Please follow the contributing guidelines so maintainers can review your work efficiently.

Before opening an issue, see support and discussion routes. Please follow our Code of Conduct. For a potential security issue, use the private reporting instructions instead of a public issue.

Chosen Credits


All versions of chosen with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jjj/chosen contains the following files

Loading the files please wait ...