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 ofpackages/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:
- Sign in to the Zelta dashboard and open Profile → API Tokens (
/user/api-tokens). - Create a token with the abilities you need (
read,write,delete). - 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:transactionsandwallet:intentgive read-only visibility into wallet activity and send intents.
Note on ramp & subscription —
ramp:status/ramp:kyc-linkcover bank-rail deposit setup (KYC + virtual account);subscription:statusshows 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 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 finaegis/cli 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Sila PHP SDK for API Version 0.2
Dealing with payments through the Egyptian payment gateway PayMob
Librería para la gestión sencilla de pagos mediante TPV Redsys y Paypal
Cliente PHP para la API de HeyBanco
Starling Bank Payments Service data objects
Slim starter / Slim skeleton package to boost your development with Slim framework
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 47
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2026-04-19