PHP code example of qalainau / filament-univer-sheet
1. Go to this page and download the library: Download qalainau/filament-univer-sheet 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/ */
qalainau / filament-univer-sheet example snippets
use Qalainau\UniverSheet\UniverSheetPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
UniverSheetPlugin::make(),
]);
}
use Qalainau\UniverSheet\SpreadsheetField;
public static function form(Schema $schema): Schema
{
return $schema
->components([
SpreadsheetField::make('data')
->columnSpanFull(),
]);
}