定制 finaegis/cli 二次开发

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

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

finaegis/cli

Composer 安装命令:

composer create-project finaegis/cli

包简介

Zelta CLI — manage payments, SMS, wallets, and AI agents from the terminal

README 文档

README

Manage payments, SMS, wallets, and API monetization from the terminal. Built for humans and AI agents.

Mirror repo notice — if you're viewing this at github.com/FinAegis/cli, that repo is a read-only split of packages/zelta-cli/ from the FinAegis core banking monorepo. Please file issues and PRs against the monorepo.

Install

# npm (recommended, requires PHP 8.4+ on PATH)
npm install -g @finaegis/cli

# Composer
composer global require finaegis/cli

Authentication

The CLI authenticates with a Sanctum personal access token:

  1. Sign in to the Zelta dashboard and open Profile → API Tokens (/user/api-tokens).
  2. Create a token with the abilities you need (read, write, delete).
  3. Log in — the token is verified against the API before being stored in ~/.zelta/credentials.json:
zelta auth:login --key <api-token>

A rejected token fails at login time (exit code 2), not on first use. zelta auth:status and zelta whoami re-verify the stored token server-side.

Quick Start

zelta auth:login --key <api-token>
zelta pay:list --status settled
zelta sms:send --to +37060012345 --message "Your code: 847291"
zelta wallet:transactions --limit 10
zelta endpoints:list

Commands

Group Commands
auth login, logout, status, token
pay send, status, list, stats
sms send, status, rates
wallet balance, transactions, intent, tokens
ramp status, kyc-link
subscription status
limits list, set, remove
endpoints list
agents register, discover
sdk generate

Note on wallet sends — Zelta wallets are non-custodial: every transaction is signed on-device (Privy passkey / device key), so the CLI cannot send funds. wallet:transactions and wallet:intent give read-only visibility into wallet activity and send intents.

Note on ramp & subscriptionramp:status / ramp:kyc-link cover bank-rail deposit setup (KYC + virtual account); subscription:status shows your tier and period end. All three are read/setup surfaces — money movement and plan changes happen in the app.

AI Agent Support

# JSON output for pipes
zelta pay:list --json | jq '.[] | select(.status == "settled")'

# Structured exit codes: 0=success, 1=error, 2=auth, 3=payment, 4=validation
zelta pay:stats --json --period day | jq -e '.failed == 0'

Documentation

License

Apache-2.0

finaegis/cli 适用场景与选型建议

finaegis/cli 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 04 月 19 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「cli」 「payments」 「fintech」 「mpp」 「x402」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 finaegis/cli 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 finaegis/cli 我们能提供哪些服务?
定制开发 / 二次开发

基于 finaegis/cli 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-04-19