PHPackages                             trustedlogin/client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. trustedlogin/client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

trustedlogin/client
===================

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

v1.9.0(1y ago)1379.2k↑72.4%3[4 issues](https://github.com/trustedlogin/client/issues)[3 PRs](https://github.com/trustedlogin/client/pulls)GPL-2.0-or-laterPHPCI passing

Since May 28Pushed 1y ago4 watchersCompare

[ Source](https://github.com/trustedlogin/client)[ Packagist](https://packagist.org/packages/trustedlogin/client)[ Docs](https://www.trustedlogin.com)[ RSS](/packages/trustedlogin-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (38)Used By (0)

[![TrustedLogin_TrustedLogin Logo Horizontal](https://user-images.githubusercontent.com/870979/234620734-0dbe5771-7b45-45e2-a68f-428dd92f9a3a.svg)](https://user-images.githubusercontent.com/870979/234620734-0dbe5771-7b45-45e2-a68f-428dd92f9a3a.svg)

TrustedLogin SDK
================

[](#trustedlogin-sdk)

**[Download the Latest Version](https://github.com/trustedlogin/client/archive/refs/heads/main.zip)**

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

### [🔍 See the Changelog](https://github.com/trustedlogin/client/blob/main/CHANGELOG.md)

[](#-see-the-changelog)

### [📖 Read the Documentation](https://trustedlogin.github.io/docs/Client/intro)

[](#-read-the-documentation)

### Requirements:

[](#requirements)

- PHP 5.3.0 or greater
- WordPress 5.2 or greater

### Local Development And Testing

[](#local-development-and-testing)

Make sure to install [wp-env](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-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

[](#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

[](#wordpress-41-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": "
