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: 22 305
Dependents: 0
Suggesters: 0
Security: 0
Stars: 261
Watchers: 4
Forks: 10
Open Issues: 1
pkg:composer/sunchayn/nimbus
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.8
- illuminate/contracts: ^10.0||^11.0||^12.0
- nesbot/carbon: ^3.8.4||^2.62.1
- spatie/invade: ^2.1
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- brianium/paratest: ^7.0 || ^8.0
- devizzent/cebe-php-openapi: ^1.1
- larastan/larastan: ^2.9||^3.0
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1||^7.10
- orchestra/testbench: ^10.6 || ^9.8 || ^8.0
- phpstan/extension-installer: ^1.3||^2.0
- phpstan/phpstan-deprecation-rules: ^1.1||^2.0
- phpunit/phpunit: ^10.1||^11.5.3
- rector/rector: ^1.2 || ^2.2
- spatie/laravel-data: ^4.18
Suggests
- ext-zlib: Required for shareable links feature.
- devizzent/cebe-php-openapi: Required for OpenAPI route extraction strategy.
This package is auto-updated.
Last update: 2026-02-18 01:37:45 UTC
README
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
FormRequestvalidation Spatie\LaravelDataDTOs- 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, or 12.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:
- Report bugs: Open an issue
- Share ideas: Start a discussion
- Ask questions: Q&A discussions
License
Nimbus is open-source software licensed under the MIT license.

