Add Sticky Notes to your FilamentPHP dashboard with tons of options and style
tomatophp/filament-notes is a Laravel package for add sticky notes to your filamentphp dashboard with tons of options and style.
It currently has 45 GitHub stars and 7.037 downloads on Packagist (latest version 5.0.2).
Install it with composer require tomatophp/filament-notes.
Discover more Laravel packages by tomatophp
or browse all Laravel packages to compare alternatives.
Last updated

Add Sticky Notes to your FilamentPHP dashboard with tons of options and style

| Package 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+ |
composer require tomatophp/filament-notes
after install your package please run this command
php artisan filament-notes:install
Finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php
$panel->plugin(\TomatoPHP\FilamentNotes\FilamentNotesPlugin::make())
Notes are linked to your user model, you can change it from the config file filament-notes.models.user (default App\Models\User).
you can use it as a resource or you can use it as a widget by just register a widget on your panel provider like this
$panel->widgets([
\TomatoPHP\FilamentNotes\Filament\Widgets\NotesWidget::class
])
the widget shows the pinned notes the current user can see, you can change how many notes it shows
$panel->plugin(\TomatoPHP\FilamentNotes\FilamentNotesPlugin::make()
->widgetLimit(8)
)
you can use selected note anywhere using livewire component
<livewire:note-action :note="$note" />
groups and status are stored with filament-types (installed with this package), you can use this feature by add this methods to the plugin
$panel->plugin(\TomatoPHP\FilamentNotes\FilamentNotesPlugin::make()
->useStatus()
->useGroups()
)
the default groups (todo, ideas, saved) and statuses (pending, processing, done) are created the first time you open the Notes Groups / Notes Status pages from the notes page header.
you can send a note as a Filament database notification to selected users by adding this method to the plugin (your panel needs ->databaseNotifications() and the notifications table)
$panel->plugin(\TomatoPHP\FilamentNotes\FilamentNotesPlugin::make()
->useNotification()
)
you can generate a public link and share it with others by allowing this feature on your provider
$panel->plugin(\TomatoPHP\FilamentNotes\FilamentNotesPlugin::make()
->useShareLink()
)
you can use this feature to allow only selected users to access the notes by allowing this feature on your provider
$panel->plugin(\TomatoPHP\FilamentNotes\FilamentNotesPlugin::make()
->useUserAccess()
)
you can use this feature to add a checklist to your notes by allowing this feature on your provider
$panel->plugin(\TomatoPHP\FilamentNotes\FilamentNotesPlugin::make()
->useCheckList()
)
you can customize the note resource icon by adding this method to the plugin
$panel->plugin(\TomatoPHP\FilamentNotes\FilamentNotesPlugin::make()
->navigationIcon('heroicon-o-presentation-chart-line')
)
you can publish config file by use this command
php artisan vendor:publish --tag="filament-notes-config"
you can publish views file by use this command
php artisan vendor:publish --tag="filament-notes-views"
you can publish languages file by use this command
php artisan vendor:publish --tag="filament-notes-lang"
you can publish migrations file by use this command
php artisan vendor:publish --tag="filament-notes-migrations"
composer test
composer format
composer analyse
Checkout our Awesome TomatoPHP