Download the PHP package hugoseigle/symfony-ux-autocomplete-select-all without Composer

On this page you can find all versions of the php package hugoseigle/symfony-ux-autocomplete-select-all. 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 symfony-ux-autocomplete-select-all

Symfony UX Autocomplete Select All

Latest stable version Total downloads Monthly downloads GitHub stars Latest release

CI Codecov CodeQL

A small Symfony UX bundle that adds accessible Select all and Deselect all controls to a multiple Symfony UX Autocomplete field.

It follows the endpoint's pagination, reuses the Tom Select instance managed by Symfony UX and works with both AssetMapper and Webpack Encore.

Features

Requirements

Dependency Supported versions
PHP 8.2, 8.3, 8.4, 8.5
Symfony 6.4, 7.x, 8.x
Symfony UX Autocomplete 2.17+; 3.x requires PHP 8.4+
Stimulus 3.2 or later
Assets AssetMapper or Webpack Encore

Installation

If Symfony Flex does not register third-party bundles in your application, enable it manually:

The package exposes its controller through the standard Symfony UX asset manifest. AssetMapper consumes it directly; Encore installs and resolves the corresponding npm package through the usual Symfony UX workflow.

See the complete installation guide, including manual AssetMapper and Encore setup.

Usage

Place this controller on a wrapper and mark the multiple autocomplete field as its field target:

The autocomplete endpoint keeps its normal Symfony UX response:

No separate URL is needed: by default, the controller reads the URL value already configured on Symfony UX Autocomplete.

Configuration

Stimulus value Type Default Purpose
url string Autocomplete URL Overrides the endpoint used by Select all
selectAllLabel string Select All Select button label
deselectAllLabel string Deselect All Clear button label
selectAllClasses string btn btn-outline-primary btn-sm select-all-button Select button classes
deselectAllClasses string btn btn-outline-danger btn-sm unselect-all-button Clear button classes
controlsClasses string autocomplete-select-all-controls Generated controls wrapper classes
pageSize number 10 Legacy pagination fallback size
maxPages number 1000 Pagination loop safety limit

Buttons use the native hidden attribute, so Bootstrap is optional. Replace the class values when using another design system.

See examples for custom controls, Symfony Forms and both asset systems.

Demo

The demo/ directory is a complete Symfony 6.4 AssetMapper application. It installs this bundle from its parent directory with a Composer path repository.

Then open the URL printed by Symfony CLI.

Contributing

Bug reports and pull requests are welcome. Read CONTRIBUTING.md for the local workflow, quality checks and contribution rules.

Please report vulnerabilities privately as described in SECURITY.md.

Roadmap

Backward compatibility follows semantic versioning. See CHANGELOG.md for release notes.

License

Symfony UX Autocomplete Select All is released under the MIT License.


All versions of symfony-ux-autocomplete-select-all with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
symfony/dependency-injection Version ^6.4|^7.0|^8.0
symfony/http-kernel Version ^6.4|^7.0|^8.0
symfony/stimulus-bundle Version ^2.13|^3.0
symfony/ux-autocomplete Version ^2.17
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 hugoseigle/symfony-ux-autocomplete-select-all contains the following files

Loading the files please wait ...