ryan-iden / sdk
iden PHP SDK.
Requires
- php: >=8.1
- firebase/php-jwt: ^7.0
- guzzlehttp/guzzle: ^7.7
- phpfastcache/phpfastcache: ^9.1
- vlucas/phpdotenv: ^5.5
Requires (Dev)
- phpunit/phpunit: ^10
- saggre/phpdocumentor-markdown: ^0.1.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-02 11:38:04 UTC
README
Current iden release: 0.0.1. Install from ryan-iden/sdk on Packagist.
This project is derived from the corresponding Logto SDK. Protocol constants and established public API names such as
LogtoClientare intentionally retained where changing them would break compatibility.
Prerequisites
- PHP 8.1 or higher
- An iden deployment
- An iden traditional web application created
If you don't have the Logto application created, please follow the ⚡ Get started guide to create one.
Installation
composer require ryan-iden/sdk
Tutorial
See tutorial for a quick start.
API reference
See API reference for more details.
Sample code
See samples directory for example usages.
Development scripts
Dev
composer dev
This script will start a dev server at http://localhost:5000 and use samples/index.php as the entry point.
Test
composer test
Update API docs
Prerequisite
- A
phpDocumentor.pharin the project root (can be downloaded from phpDocumentor). - Command
prettieris available in the shell (an opinionated code formatter), which can be installed withnpm install -g prettier.
composer docs
This command will generate the API docs in docs/api folder and format the files.