PHP code example of softok2 / filament-starter-kit
1. Go to this page and download the library: Download softok2/filament-starter-kit 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/ */
use Filament\Support\Facades\FilamentView;
use Filament\View\PanelsRenderHook;
public function boot(): void
{
FilamentView::registerRenderHook(
PanelsRenderHook::SIDEBAR_LOGO_AFTER,
fn (): string => view('filament-starter-kit::hooks.sidebar-toggle')->render()
);
}
bash
php artisan filament-starter-kit:install
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.