Add bookmarks and tags to your resources records and access theme form your sidebar
composer require tomatophp/filament-bookmarks-menu
after install your package please run this command
php artisan filament-bookmarks-menu:install
finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php
->plugin(\TomatoPHP\FilamentBookmarksMenu\FilamentBookmarksMenuPlugin::make())
you can add bookmark action to your page like this
use TomatoPHP\FilamentBookmarksMenu\Filament\Actions\BookmarkAction;Â protected function getHeaderActions(): array{ return [ BookmarkAction::make() ];}
or to your table like this
 use TomatoPHP\FilamentBookmarksMenu\Filament\Tables\BookmarkAction; public function table(Table $table): void{ $table->actions([ BookmarkAction::make() ]);}
or to your table bulk actions like this
use TomatoPHP\FilamentBookmarksMenu\Filament\Tables\BookmarkBulkAction;use TomatoPHP\FilamentBookmarksMenu\Filament\Tables\BookmarkBulkClearAction;Â public function table(Table $table): void{ $table->bulkActions([ Tables\Actions\BulkActionGroup::make([ BookmarkBulkAction::make(), BookmarkBulkClearAction::make() ]), ]);}
you can create custom bookmark type by use our Facade TomatoPHP\FilamentBookmarksMenu\Facades\FilamentBookmarksMenu
register method like this
use TomatoPHP\FilamentBookmarksMenu\Facades\FilamentBookmarksMenu;use TomatoPHP\FilamentBookmarksMenu\Services\Contracts\BookmarkType;Â Â public function boot(){ FilamentBookmarksMenu::register([ BookmarkType::make('hashtags')->label('Hashtags')->panel('employee'), BookmarkType::make('folder')->label('Folders'), ]);}
to make label translatable you can use your path direct on label like this ->label('filament.bookmarks-menu::labels.hashtags')
you can publish config file by use this command
php artisan vendor:publish --tag="filament-bookmarks-menu-config"
you can publish views file by use this command
php artisan vendor:publish --tag="filament-bookmarks-menu-views"
you can publish languages file by use this command
php artisan vendor:publish --tag="filament-bookmarks-menu-lang"
you can publish migrations file by use this command
php artisan vendor:publish --tag="filament-bookmarks-menu-migrations"
Checkout our Awesome TomatoPHP