Important: Livewire requires you to use Laravel.
You can install Livewire using Composer:
composer require livewire/livewire
Next, you have to include Livewire's assets on your page:
<livewire:styles /> <!-- Styles --> <livewire:scripts /> <!-- Scripts -->
And that was it! Now you can use Livewire.