PHP code example of ayrozjlc / yii2-hotkeys

1. Go to this page and download the library: Download ayrozjlc/yii2-hotkeys library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ayrozjlc / yii2-hotkeys example snippets


// ...
use ayrozjlc\hotkeys\HotkeysAsset;
// ...
HotkeysAsset::register($this);

public $depends = [
    // ...
    'ayrozjlc\hotkeys\HotkeysAsset',
];
@app/views/layouts/main.php
assets/AppAsset.php