PHPackages                             aqjw/shortcuts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aqjw/shortcuts

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aqjw/shortcuts
==============

A Filament form field for recording and displaying custom keyboard shortcuts.

v1.0.0(6mo ago)2261MITJavaScriptPHP ^8.2

Since Oct 25Pushed 6mo agoCompare

[ Source](https://github.com/aqjw/shortcuts)[ Packagist](https://packagist.org/packages/aqjw/shortcuts)[ Docs](https://github.com/aqjw/shortcuts)[ GitHub Sponsors](https://github.com/aqjw)[ RSS](/packages/aqjw-shortcuts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

 [![Shortcuts Logo](art/logo.png)](art/logo.png)

Filament Shortcuts
==================

[](#filament-shortcuts)

 Let users press keys to create custom keyboard shortcuts

 [ ![Latest Version on Packagist](https://camo.githubusercontent.com/869f01c12e5b8d34a84c8eb09a388bfdc9b9735e80fad0a87c420966dc233327/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61716a772f73686f7274637574732e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/aqjw/shortcuts) [ ![Total Downloads](https://camo.githubusercontent.com/3cc0a6cc223526a4d4cc8b6818653d1a6a01261b2fb629979590f5a44bca303f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61716a772f73686f7274637574732e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/aqjw/shortcuts)

---

🎬 Demo
------

[](#-demo)

 [![Shortcuts Demo](art/video.gif)](art/video.gif)

Just press any key combination and it gets saved automatically. Great for apps where users need their own custom shortcuts.

**Powered by [Mousetrap](https://github.com/ccampbell/mousetrap)** - A simple library for handling keyboard shortcuts in JavaScript.

📦 Installation
--------------

[](#-installation)

You can install the package via Composer:

```
composer require aqjw/shortcuts
```

🎨 Registering Styles
--------------------

[](#-registering-styles)

In order for component styles to be processed, you must add this package's views to [your theme](https://filamentphp.com/docs/4.x/advanced/assets#using-tailwind-css-in-plugins) file (e.g., resources/css/filament/admin/theme.css):

```
@source '../../../../vendor/aqjw/shortcuts/resources/views';
```

🚀 Usage
-------

[](#-usage)

### Basic Usage

[](#basic-usage)

```
use Aqjw\Shortcuts\ShortcutInput;

ShortcutInput::make('shortcut')
    ->label('Keyboard Shortcut')

// The field stores data as an array:
['ctrl+c', 'ctrl+v']
['alt', 'f4']
['f12']
```

⚙️ Configuration Options
------------------------

[](#️-configuration-options)

MethodDescriptionDefault`combinations(int)`Maximum number of key combinations to record`1``timeout(int)`Timeout in milliseconds for recording`700``instruction(string)`Instruction text shown while recordingLocalized text`placeholder(string)`Placeholder text when no shortcuts is setLocalized text🌍 Internationalization
----------------------

[](#-internationalization)

The package supports 12 languages out of the box:

- 🇨🇳 Chinese (`zh`)
- 🇳🇱 Dutch (`nl`)
- 🇺🇸 English (`en`)
- 🇫🇷 French (`fr`)
- 🇩🇪 German (`de`)
- 🇮🇹 Italian (`it`)
- 🇯🇵 Japanese (`ja`)
- 🇰🇷 Korean (`ko`)
- 🇵🇹 Portuguese (`pt`)
- 🇷🇺 Russian (`ru`)
- 🇪🇸 Spanish (`es`)
- 🇺🇦 Ukrainian (`uk`)

📝 Changelog
-----------

[](#-changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

🤝 Contributing
--------------

[](#-contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

🔒 Security Vulnerabilities
--------------------------

[](#-security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

👥 Credits
---------

[](#-credits)

- [Anton Shever](https://github.com/aqjw)
- [All Contributors](../../contributors)

📄 License
---------

[](#-license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance66

Regular maintenance activity

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

205d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bbc50eee573168342cf8eaa53bcc09048939b7dc4bb79187133c919ce6e1e8b?d=identicon)[aqjw](/maintainers/aqjw)

---

Top Contributors

[![aqjw](https://avatars.githubusercontent.com/u/13101908?v=4)](https://github.com/aqjw "aqjw (4 commits)")

---

Tags

laravelshortcutsfilamentkeyboardaqjw

### Embed Badge

![Health badge](/badges/aqjw-shortcuts/health.svg)

```
[![Health](https://phpackages.com/badges/aqjw-shortcuts/health.svg)](https://phpackages.com/packages/aqjw-shortcuts)
```

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

320392.1k17](/packages/codewithdennis-filament-select-tree)[awcodes/filament-table-repeater

A modified version of the Filament Forms Repeater to display it as a table.

262815.1k5](/packages/awcodes-filament-table-repeater)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)[icetalker/filament-table-repeater

This is a package for Filament form component. Extends form Repeater, but shows in Table Layout.

136178.4k2](/packages/icetalker-filament-table-repeater)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
