Download the PHP package fabioguin/livewire-searchable-select without Composer

On this page you can find all versions of the php package fabioguin/livewire-searchable-select. 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 livewire-searchable-select

Livewire Searchable Select

Latest Version on Packagist Total Downloads GitHub license

Livewire component for searchable select inputs

Requirements

Installation

You can install the package via composer:

Basic Usage

Properties

Property Arguments Result Example
property String - required property name Define the property name
model-app String - required full model name Define the source of data that will be select
model-app-scope String - optional name of model sope Define model scope for filtering results
option-text String - required show column on option Define the column(s) in model that want to be show in select option
option-value-column String - required set value Define the column name as a value data that will be selected
active-option-text Mixed - optional set active value text Define the default selected option to show on select
active-option-value Mixed - optional set active value Define the default selected option value to pass in the model
search-columns Array - required search column Define the column in model that want to be searched
search-min-chars Int - optional minimum character Define minimum character for trigger search event; default: 0
search-limit-results Int - optional max results to view in the dropdown Define the lenght of result for dropdown; default: 10
input-extra-classes String - optional add extra classes Define the extra classes for the input, anyway each element has a class without defined attributes that can be exploited for customization, for example: "select-searchable-input", "select-searchable-input-clear-value", etc.
input-placeholder String - optional placeholder name Define the placeholder for select input

model-app-scope

With this parameter you can define a query scope of the model to filter the search results in a complex way (see official Laravel documentation). This makes the component even more flexible and usable in multiple contexts. Remember to use a string with the camel case syntax without specifying that it is a "scope" (see example).

Customization

Livewire Select is designed to be easily customizable. You can publish and modify the configuration, views, and language files to suit your needs.

Configuration

You can publish the configuration file with:

This will publish a livewire-searchable-select.php config file to your config directory. Here you can change the default settings of Livewire Select.

Views

If you need to modify the views, you can publish them with:

This will publish the view files to resources/views/vendor/livewire-searchable-select. You can edit these files to change the appearance of the select input.

Language

To customize the language strings, you can publish the language files with:

This will publish the language files to resources/lang/vendor/livewire-searchable-select. You can edit these files to change the text used by Livewire Select.

TODO and Future Developments

The Livewire Select package is currently under development and there are several features and improvements planned for future releases.

Here is a list of the planned tasks:

Inspired by https://github.com/mitratek/livewire-select

We ❤️ Semantic Versioning https://semver.org/

Open to work, contact me: https://www.linkedin.com/in/fabio-guin-starzero/


All versions of livewire-searchable-select with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2
livewire/livewire Version ^3.0
illuminate/support Version ^10.0|^11.0
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 fabioguin/livewire-searchable-select contains the following files

Loading the files please wait ....