PHP code example of tomatophp / filament-splade

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

    

tomatophp / filament-splade example snippets


use TomatoPHP\FilamentSplade\Traits\InteractsWithSplade;

->plugin(\TomatoPHP\FilamentSplade\FilamentSpladePlugin::make())

->withExceptions(function (Exceptions $exceptions) {
    $exceptions->renderable(function (\Illuminate\Foundation\Exceptions\Handler $e) {
        return \ProtoneMedia\Splade\SpladeCore::exceptionHandler($e);
    });
})
bash
php artisan filament-splade:install
bash
php artisan vendor:publish --tag="filament-splade-config"