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.

Fund package maintenance!
sunchayn

Installs: 20 376

Dependents: 0

Suggesters: 0

Security: 0

Stars: 152

Watchers: 2

Forks: 4

Open Issues: 2

pkg:composer/sunchayn/nimbus

v0.4.1-alpha 2026-02-02 01:34 UTC

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 routes and validation rules to build interactive request schemas and a native interface for testing and exploring your APIs.

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

  • Automatic Discovery: Routes and schemas generated directly from your Laravel FormRequest, SpatieData classes and inline validation rules.
  • Built-in, polished interface for inspecting API endpoints in your browser.
  • Shareable Links: Capture a request state (headers, body, auth) and send it to a colleague.
  • Safe Testing (Transaction Mode): Run a request and automatically roll back database changes. Test DELETE or UPDATE endpoints without dirtying your data.
  • OpenAPI as a First-Class Citizen: Use your OpenAPI schema to super-charge discovery while retaining Nimbus's automatic detection for undocumented routes.
  • Magic dd() Handling: Intercepts dd() calls and renders them in a paginated window that doesn't break your UI.
  • Multi-Application Support: Switch between different APIs (e.g., rest-api, admin-api) within the same interface.
  • Special Authentication:
    • Act as the currently logged-in user.
    • Impersonate any user by ID.
    • Bearer and Basic Auth support.
  • Global headers automatically applied to every request.
  • Value Generators: One-click payload population with realistic test data (UUIDs, names, emails, etc.).

Quick Start

1. Requirements

  • PHP 8.2+
  • Laravel 10.x, 11.x, or 12.x
  • A real web server (Herd, Sail, Docker, Nginx). Note: php artisan serve is not supported.

2. Installation

composer require sunchayn/nimbus

3. Setup

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

4. Access Nimbus

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: Nimbus requires a real web server (Herd, Sail, Docker, Nginx, etc.). PHP's built-in server (php artisan serve) will not work properly due to single-threaded request handling limitations.

Documentation

  • User Guide - Complete guide on using Nimbus's interface, features, and troubleshooting.
  • Contributor Guide - Architecture overview and development guidelines.

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.

Alpha Release Notice

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.