PHP code example of falconmedia / magento2-admin-passkey

1. Go to this page and download the library: Download falconmedia/magento2-admin-passkey 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/ */

    

falconmedia / magento2-admin-passkey example snippets

bash
php vendor/bin/phpunit -c app/code/FalconMedia/AdminPasskey/phpunit.xml.dist
bash
php vendor/bin/phpstan analyse -c app/code/FalconMedia/AdminPasskey/phpstan.neon.dist
bash
php vendor/bin/phpcs --standard=app/code/FalconMedia/AdminPasskey/phpcs.xml.dist app/code/FalconMedia/AdminPasskey
bash
php vendor/bin/phpcbf --standard=app/code/FalconMedia/AdminPasskey/phpcs.xml.dist app/code/FalconMedia/AdminPasskey