PHP code example of learnkit / filament-startpage
1. Go to this page and download the library: Download learnkit/filament-startpage 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/ */
learnkit / filament-startpage example snippets
use LearnKit\Startpage\ValueObjects\Link;
public function boot()
{
$components = [
Link::make()
->label('LearnKit website')
->url('https://learnkit.dev?ref=filament-startpage')
->icon('heroicon-m-star'),
];
startpage()->registerComponents($components);
}