Download the PHP package datlechin/flarum-keyboard-shortcuts without Composer

On this page you can find all versions of the php package datlechin/flarum-keyboard-shortcuts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package flarum-keyboard-shortcuts

Keyboard Shortcuts

License Latest Stable Version Total Downloads

A Flarum extension. Navigate your forum without touching the mouse.

Press ? anywhere on the forum for the full list.

The cheat sheet open over the forum, listing every shortcut grouped by where it applies

Members can rebind any shortcut for themselves, one group at a time.

The customisation form, with a tab per group and a recorder field per shortcut

Administrators set the forum-wide bindings by pressing the keys they mean.

The admin page: behaviour settings in a card, and a table of every binding

Installation

Updating

Shortcuts

Every binding below is a default: administrators can change them for the whole forum, and members can then rebind any of them for themselves.

Anywhere

Shortcut Action
? Show keyboard shortcuts
/ Search
C Start a discussion
N Toggle notifications
Shift F Toggle flags
U Toggle the user menu
Shift L Log in
Shift S Sign up
Shift T Switch colour scheme
Backspace Go back

Go to

Shortcut Action
G then H All discussions
G then N Notifications
G then P Your profile
G then S Your settings

Discussion list

Shortcut Action
J Next discussion
K Previous discussion
Enter Open the selected discussion
Shift M Mark all as read
Shift R Refresh the list

Discussion

Shortcut Action
R Reply
F Follow or unfollow
J Next post
K Previous post
O Jump to the first post
L Jump to the last post
Shift E Rename the discussion
Alt P Pin or unpin the discussion list

Composer

Shortcut Action
Mod Shift F Toggle full screen
Mod Shift M Minimise the composer

Mod is on Apple devices and Ctrl everywhere else.

Configuration

Administrators configure the forum-wide bindings on the extension's page, by pressing the keys they want rather than typing them out. The page also carries three settings:

Members can turn shortcuts off, and rebind any of them, from their settings page or from the cheat sheet. Only the bindings they actually change are stored, so everything else keeps following the forum — including later changes an administrator makes.

For extension developers

Shortcuts are registered through app.shortcuts, which is a ShortcutManager. Adding one is enough to have it appear in the cheat sheet, in the customisation form, and in the matcher:

A shortcut's action may return false to decline a key press, which leaves the browser's own behaviour intact. when scopes it to a page, allowInInput lets it fire while text is being typed, and visible keeps it out of the cheat sheet when it does not apply.

Namespace your ids (acme-tags.jumpToTag), since they are the storage keys for personal bindings.

Links


All versions of flarum-keyboard-shortcuts with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package datlechin/flarum-keyboard-shortcuts contains the following files

Loading the files please wait ...