PHP code example of mitratek / livewire-select
1. Go to this page and download the library: Download mitratek/livewire-select library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mitratek / livewire-select example snippets
namespace App\Http\Livewire\CreateUser
use Livewire\Component;
use Mitratek\LivewireSelect\LivewireSelect;
class CreateUser extends Component
{
use LivewireSelect;
// set properties to get selected value from LivewireSelect
public $country_id;
}