Why I built it
While I was working on a project, some admins asked me for keyboard shortcuts, so they could work faster.
In big projects the dashboard has many pages, and they all repeat the same tasks: CRUD, navigation, search.
I searched for an existing package, but none had it all. The ones I found need wiring by hand, which gets hard in a big dashboard. Others cover only navigation and a few table actions. And none let each admin set their own keys.
To get the full set, I'd have to combine more than one package and patch my code around them.
So I built my own from scratch in the project: a simpler version, with native Filament.
Then I thought this could be reused in other projects. So I extracted it into a full package that you can install and use directly.
What it does
Register it as a plugin on your Filament 4 or 5 panel, and it scans your resources, pages, tables and actions, then gives each one a shortcut. Add a resource, it gets a key.
- G, then a letter: open any resource or page
- J / K: walk table rows, act with a key
- ?: see every shortcut on the page
Keep one shared map in config, with no database. Or use personal mode, where each admin edits their own map.
Why G and not Alt or Ctrl
Why G and not Alt or Ctrl combos? The browser and the OS already use many of those. GitHub and Gmail use the same pattern: g for "go", then a letter. So I followed it.
That makes admin work faster and easier: the whole dashboard, straight from the keyboard.
Install
composer require aristonis/filament-shortcut-keys
Register the plugin in your panel provider:
use Aristonis\FilamentShortcutKeys\FilamentShortcutKeysPlugin;
return $panel
// ...
->plugin(FilamentShortcutKeysPlugin::make());
Publish the script, or no key will do anything:
php artisan filament:assets
For personal mode, publish and run the migrations too. The installation guide has every step.
Top comments (0)