PHP code example of otatechie / filament-kinetics

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

    

otatechie / filament-kinetics example snippets


use Otatechie\Kinetics\KineticsPlugin;

$panel
    ->plugin(KineticsPlugin::make())
    ->viteTheme('resources/css/filament/admin/theme.css');

use Filament\Support\Colors\Color;

$panel
    ->plugin(KineticsPlugin::make())
    ->colors([
        'primary' => Color::Teal,
        'gray' => Color::Stone,
    ]);

$panel
    ->plugin(KineticsPlugin::make())
    ->font('Inter')
    ->topbar();