laravel-enso / Select by aocneanu

Bootstrap Select data builder with server-side data fetching capability and a VueJS component
55,266
26
7
Package Data
Maintainer Username: aocneanu
Maintainer Contact: aocneanu@gmail.com (Adrian Ocneanu)
Package Create Date: 2017-03-19
Package Last Update: 2024-10-07
Home Page: https://laravel-enso.com/examples/select
Language: PHP
License: MIT
Last Refreshed: 2024-11-24 15:02:41
Package Statistics
Total Downloads: 55,266
Monthly Downloads: 617
Daily Downloads: 4
Total Stars: 26
Total Watchers: 7
Total Forks: 15
Total Open Issues: 0

Select

Codacy Badge StyleCI License Total Downloads Latest Stable Version

Single and multi-select server-side option list builder

This package can work independently of the Enso ecosystem.

The front end assets that utilize this api are present in the select package.

For live examples and demos, you may visit laravel-enso.com

Watch the demo

click on the photo to view a short demo in compatible browsers

Installation

Comes pre-installed in Enso.

To install outside of Enso:

  1. install the package: composer require laravel-enso/select
  2. install the front end api implementation: yarn add @enso-ui/select

Features

  • a standalone component with minimal dependencies
  • the select options can be retrieved via ajax calls or, given directly, via a parameter
  • when getting the data via ajax, the component can take various parameters for results filtering
  • for the back-end, the package comes with a trait for easy retrieval and formatting of the data
  • can filter the option list dynamically even based on the model’s one-to-many / many-to-many relationships
  • can search in multiple attributes of a model, and the attribute(s) may be nested
  • can specify the attribute used as label for the select options
  • can be used to create a new 'tag' if no suitable result is found (soon)
  • can use the arrow keys to navigate the list of results and Enter to select/deselect
  • is as small as can be, without skimping on features

Configuration & Usage

Be sure to check out the full documentation for this package available at docs.laravel-enso.com

Contributions

are welcome. Pull requests are great, but issues are good too.

License

This package is released under the MIT license.