PHP code example of codedor / filament-translatable-tabs

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

    

codedor / filament-translatable-tabs example snippets


use Codedor\TranslatableTabs\Forms\TranslatableTabs;

public static function form(Form $form): Form
{
    return $form->schema([
        TranslatableTabs::make('Translations')
            ->defaultFields([
                TextInput::make('working_title')
                    ->                   ->label('Online'),
            ])->columnSpan(['lg' => 2]),
    ]);
}
js
content: [
    ...
    './vendor/codedor/filament-translatable-tabs/resources/**/*.blade.php',
]