定制 sunchayn/nimbus 二次开发

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

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

sunchayn/nimbus

Composer 安装命令:

composer require sunchayn/nimbus

包简介

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

README 文档

README

Nimbus - Integrated API Client With a Touch of Magic

Latest Version on Packagist License PHP Version codecov

An integrated, in-browser API client for Laravel with a touch of magic.
Nimbus automatically analyzes your application's routes and validation rules to provide an interactive API platform directly in the browser for testing and exploring your API endpoints.

Why Nimbus?

Traditional API testing tools require manual setup for every endpoint. Nimbus removes that friction by automatically discovering your Laravel routes, generating schemas from validation rules, and handling authentication, cookies, and test data. All without leaving your development environment.

What Nimbus Is NOT

Nimbus is NOT an API documentation generator like Swagger or Scribe. It doesn't produce customer-facing API documentation. Instead, it's a developer-focused API playground designed to improve your iteration speed while building and testing APIs.

Key Features

  • Authentication Injection: Seamlessly switch between special modes like current session auth, user impersonation by ID, or standard modes like Bearer and Basic credentials.
  • Cookie Decryption: Inspect and automatically decrypt cookies to streamline debugging.
  • Shared Request Contexts: Capture a request state (headers, body, auth) and share with colleagues.
  • Database Transaction Rollback: Execute potentially destructive requests (DELETE, UPDATE) within a database transaction that automatically rolls back upon termination.
  • Integrated dd() Handling: Intercepts native dd() calls and renders them in a dedicated, paginated debug viewer without disrupting the UI or response state.
  • Payload Autofill: One-click payload population with realistic test data.
  • On-Demand Value Generators: Inline value generators (UUIDs, names, emails, timestamps) within the request builder input fields.
  • Persistent Request History: Every request is logged in a searchable history, allowing for full restoration of the interface state to any previous point in time.
  • Multi-Application Support: Manage and toggle between multiple APIs (e.g., REST, Admin, or separate microservices) within a single unified dashboard.

Technical Discovery

Automated Route Analysis

Nimbus performs static analysis of your application's routing layer to discover endpoints and their corresponding validation logic. This includes support for:

  • Standard Laravel FormRequest validation
  • Spatie\LaravelData DTOs
  • Inline controller validation logic

OpenAPI Specification Support

For projects with formal documentation, Nimbus can consume OpenAPI (YAML/JSON) specifications. This extends the discovery process by merging documented external specs with Nimbus's internal route detection.

Installation

1. Requirements

  • PHP 8.2+
  • Laravel 10.x, 11.x, 12.x, or 13.x

2. Composer Install

composer require sunchayn/nimbus

3. Publishing Assets

php artisan vendor:publish --tag=nimbus-assets --tag=nimbus-config

4. Access

Start your Laravel application and navigate to:

http://your-app.test/nimbus

That's it! Nimbus will automatically discover your API routes and their validation schemas.

Note

Single-Threaded Server Environments When using php artisan serve or Laravel Sail, concurrent relay requests may lead to timeouts due to PHP's single-threaded nature. Refer to the Single-Threaded Guide for the recommended workaround.

Documentation

  • User Guide: Comprehensive interface walkthrough and troubleshooting.
  • Contributor Guide: Architecture overview and local development instructions.

Security Considerations

  • Development Only: Nimbus is designed for local development environments. Do not deploy it to production servers.
  • User Impersonation: The impersonation feature allows making requests as any user. Ensure Nimbus is only accessible in trusted development environments.

Release Status

Nimbus is currently an Alpha. You may encounter unexpected behaviors or bugs, all feedback is welcome:

License

Nimbus is open-source software licensed under the MIT license.

sunchayn/nimbus 适用场景与选型建议

sunchayn/nimbus 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 43.58k 次下载、GitHub Stars 达 336, 最近一次更新时间为 2025 年 10 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 336
  • Watchers: 4
  • Forks: 19
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-20