1. Go to this page and download the library: Download awcodes/filament-addons 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/ */
awcodes / filament-addons example snippets
use FilamentAddons\Admin\FixedSidebar;
public static function form(Form $form): Form
{
return FixedSidebar::make()
->schema([
// Main section form components
], [
// Sidebar form components
]);
}
use FilamentAddons\Forms\Fields\DateInput;
DateInput::make(string $fieldname)
->label('Publish Date')
->withoutTime() //optional