PHP code example of amiralidev / filament-todo

1. Go to this page and download the library: Download amiralidev/filament-todo 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/ */

    

amiralidev / filament-todo example snippets


use Amiralidev\Filament\TodoPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            TodoPlugin::make(),
        ]);
}

use Amiralidev\Filament\Widgets\TodoBoardWidget;

public function panel(Panel $panel): Panel
{
    return $panel
        ->widgets([
            TodoBoardWidget::class,
        ]);
}
css
@source '../../../../vendor/amiralidev/filament-todo/resources/**/*.blade.php';
bash
php artisan vendor:publish --tag="filament-todo-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="filament-todo-config"