PHP code example of codedge / livewire-companion
1. Go to this page and download the library: Download codedge/livewire-companion 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/ */
codedge / livewire-companion example snippets
declare(strict_types=1);
// ...
use Codedge\LivewireCompanion\Components\Datatable;
class MyTable extends Datatable
{
protected $model = User::class;
// ...
}
bash
$ php artisan vendor:publish --provider="Codedge\LivewireCompanion\LivewireCompanionServiceProvider"