The plugin integrates Tokenly & Tokenpass features into a WordPress website.
- Clone the repository from the /plugins directory.
- Run
npm installwithin the plugin's directory once to install the JavaScript dependencies. - Run
npm run buildornpm run startto build the JavaScript files. - Run
composer installwithin the plugin's directory once to install the PHP dependencies. - Activate the WordPress plugin.
- Follow the instructions on the Tokenly > Settings page.
If it is not working, make sure your permalink rewrite rules cache is flushed.
Tokenpass login button is automatically included on the WP login screen
Use the shortcode [tokenly_login] on a page to display the Login button as well.
WordPress Coding Standards are followed with the exception to filenames and classnames. The exceptions are due to Composer's autoloader requirements. It expects PSR-4 styled code for autoloading to work.
test.shis used to run tests and check code styletest-fix.shis used to fix styling issues automaticallytest-local-install.shis used to prepare the database for testing, is expecting a running WordPress instance via Local by Flywheel
Tokenpass Client library was merged with the codebase. It can be found in the libs directory.
Kint is bundled for debugging purposes.