Skip to content

trustedlogin/client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrustedLogin_TrustedLogin Logo Horizontal

TrustedLogin SDK

Download the Latest Version

Easily and securely log in to your customers sites when providing support.

Requirements:

  • PHP 5.3.0 or greater
  • WordPress 5.2 or greater

Local Development And Testing

Make sure to install wp-env globally first by running npm -g i @wordpress/env.

  • Start local dev
    • wp-env start
  • Stop local dev
    • wp-env stop
  • Run the PHP tests in container
    • npm run test:php

Running linting and tests

  • composer lint Checks for any linting errors
  • composer format Fixes any code that is able to be automatically fixed
  • composer test Runs PHPUnit tests

WordPress 4.1+ support

By default, TrustedLogin supports WordPress 5.2 or newer; this is the first version that includes the Sodium cryptography library. To support earlier versions of WordPress (version 4.1 or greater), add the following libraries to your Composer require definitions:

"paragonie/random_compat": "<9.99",
"paragonie/sodium_compat": "^1.12"

About

Easily and securely log in to your customers sites when providing support.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7