定制 logto/sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

logto/sdk

最新稳定版本:v0.3.0

Composer 安装命令:

composer require logto/sdk

包简介

Logto PHP SDK.

README 文档

README

Logto Packagist Version Packagist PHP Version Packagist License Discord

Prerequisites

  • PHP 8.1 or higher
  • A Logto Cloud account or a self-hosted Logto
  • A Logto 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 logto/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.phar in the project root (can be downloaded from phpDocumentor).
  • Command prettier is available in the shell (an opinionated code formatter), which can be installed with npm install -g prettier.
composer docs

This command will generate the API docs in docs/api folder and format the files.

Resources

统计信息

  • 总下载量: 16.31k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-08