filament-bookmarks-menu
Add bookmarks and tags to your resources records and access theme form your sidebar
يمتدّ من filament
composer require tomatophp/filament-bookmarks-menuاقرأني

Filament Bookmarks Menu
Add bookmarks to your resource records and pages, group them in collections and open them from your panel sidebar.
Screenshots


Compatibility
| Version | Filament | Laravel | PHP |
|---|---|---|---|
| 5.x | 5.x | 12.x, 13.x | 8.2+ |
| 1.x (v3 branch) | 3.x | 10.x, 11.x | 8.1+ |
Installation
after install your package please run this command (it runs the package migrations)
finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php
The plugin adds the bookmark collections to the end of the panel sidebar (PanelsRenderHook::SIDEBAR_NAV_END) and registers
a hidden bookmarks page (/admin/bookmarks?id={bookmark}) that lists the links saved in a collection.
Usage
you can add bookmark action to your page like this
or to your table record actions like this
or to your table bulk actions like this
Private Bookmarks
A bookmark collection marked as private is only visible to the user who marked it: it is hidden from other users' sidebars, its page returns 404 for them, and they cannot add links to it or remove links from it.
Create Custom Bookmark Type
you can create custom bookmark type by use our Facade TomatoPHP\FilamentBookmarksMenu\Facades\FilamentBookmarksMenu register method like this
to make label translatable you can use your path direct on label like this ->label('filament.bookmarks-menu::labels.hashtags')
Publish Assets
you can publish config file by use this command
you can publish views file by use this command
you can publish languages file by use this command
you can publish migrations file by use this command
Testing
Other Filament Packages
Checkout our Awesome TomatoPHP