Download the PHP package avalynx/avalynx-autocomplete without Composer

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

AvalynxAutocomplete

npm version npm downloads Composer version Composer downloads jsDelivr Tests codecov GitHub stars

AvalynxAutocomplete is a lightweight, customizable autocomplete component for web applications. It is designed to be used with Bootstrap version 5.3 or higher and does not require any framework dependencies.

Features

Examples

Here's a simple example of how to use AvalynxAutocomplete in your project:

Installation

To use AvalynxAutocomplete in your project, you can directly include it in your HTML file. Ensure you have Bootstrap 5.3 or higher included in your project.

First, include Bootstrap:

Then, include AvalynxAutocomplete (CSS and JS):

Replace path/to/ with the actual path to the file in your project.

Installation via jsDelivr (Link)

AvalynxAutocomplete is also available via jsDelivr. You can include it in your project like this:

Make sure to also include Bootstrap's JS/CSS in your project.

Installation via NPM (Link)

AvalynxAutocomplete is also available as an npm package. You can add it to your project with the following command:

After installation, you can import AvalynxAutocomplete into your JavaScript file like this:

Installation via Symfony AssetMapper

After installation, you can import AvalynxAutocomplete into your JavaScript file like this:

Installation via Symfony AssetComposer

More information about the Symfony AssetComposer Bundle can be found here.

Installation via Composer (Link)

AvalynxAutocomplete is also available as a Composer package. You can add it to your project with the following command:

After installation, you can include AvalynxAutocomplete in your HTML file like this:

Usage

To create an autocomplete field, simply instantiate a new AvalynxAutocomplete object with the desired options:

For use with an API (fetchData):

To allow creating new entries from the typed text:

If the current text does not exactly match an existing entry, the dropdown also shows a clickable Create "..." action.

Options

AvalynxAutocomplete allows the following options for customization:

Contributing

Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request with your changes or improvements. We're looking for contributions in the following areas:

Before submitting your pull request, please ensure your changes are well-documented and follow the existing coding style of the project.

License

AvalynxAutocomplete is open-source software licensed under the MIT license.

Contact

If you have any questions, feature requests, or issues, please open an issue on our GitHub repository or submit a pull request.

Thank you for considering AvalynxAutocomplete for your project!


All versions of avalynx-autocomplete with dependencies

PHP Build Version
Package Version
Requires twbs/bootstrap Version ^5.3
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 avalynx/avalynx-autocomplete contains the following files

Loading the files please wait ...