PHP Classes

Laravel Livewire Select2 Alternative: Handle select inputs to use with Laravel Livewire

Recommend this page to a friend!
  Info   View files Documentation   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 37 This week: 1All time: 10,920 This week: 65Up
Version License PHP version Categories
livewire-select2 1.0.0MIT/X Consortium ...5HTML, PHP 5, AJAX


This package can handle select inputs to use with Laravel Livewire.

It provides a Laravel service class and HMTL with JavaScript code to process the user interactions on form select inputs displayed on Web pages rendered using Blade templates processed by the Laravel Livewire framework.

The package supports several options set as HTML attributes of a form select input. Currently, it provides the following options:

- Allow multiple option selection

- Hide the search box

- Set placeholder text

- Set the text locale language

- Set the text rendering direction

- Set the identifier of the parent modal

Innovation Award
PHP Programming Innovation award nominee
May 2022
Number 7
Laravel Livewire is a framework built on top of the Laravel framework that makes it easier to develop Web applications that provide Web interfaces that can change dynamically.

It supports components that can change the Web interface after interacting with the Web server using AJAX requests.

This component can interact with a Web server after the user picks options in a form select input.

Manuel Lemos
Picture of Moamen Eltouny
  Performance   Level  
Name: Moamen Eltouny <contact>
Classes: 37 packages by
Country: Egypt Egypt
Age: 31
All time rank: 258426 in Egypt Egypt
Week rank: 18 Up1 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 21x


<p align="center"><a href="" target="_blank"><img src=""></a></p>

<p align="center"> <a href="" target="_blank"><img src="" alt="PHP Version : >= 7.2"></a> <a href="" target="_blank"><img src="" alt="Livewire Version : >= 2.0"></a> <img src="" alt="License"> <br> <a href="" target="_blank"><img src="" alt="Source"></a> <a href="" target="_blank"><img src="" alt="Packagist Version"></a> <a href="" target="_blank"><img src="" alt="Packagist Downloads"></a> </p>


<pre align="center">Simple way to handle the Select2 for Livewire components.</pre>


You can find the detailed documentation here in Livewire Select2 Documentation.


Thank you for considering contributing to this package! Be one of Pharaonic team.


This package is an open-sourced software licensed under the MIT license.

  Files folder image Files  
File Role Description
Files folder imagepublic (1 file)
Files folder imageresources (1 directory)
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  public  
File Role Description
  Accessible without login Plain text file pharaonic.select2.min.js Data Auxiliary data

  Files folder image Files  /  resources  
File Role Description
Files folder imageviews (1 directory)

  Files folder image Files  /  resources  /  views  
File Role Description
Files folder imagecomponents (1 file)

  Files folder image Files  /  resources  /  views  /  components  
File Role Description
  Accessible without login Plain text file scripts.blade.php Aux. Auxiliary script

  Files folder image Files  /  src  
File Role Description
  Plain text file Select2ServiceProvider.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:10,920
This week:65Up