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!
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.8
- illuminate/contracts: ^10.0||^11.0||^12.0||^13.0
- mcp/sdk: ^0.10
- nesbot/carbon: ^3.8.4||^2.62.1
- spatie/invade: ^2.2
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: ^11.0 || ^10.6 || ^9.8 || ^8.0
- phpstan/extension-installer: ^1.3||^2.0
- phpstan/phpdoc-parser: ^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.
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-01 23:19:01 UTC
README
An API client that already knows your routes.
Nimbus is an in-browser API client for Laravel.
It reads your routes, validation rules, and data transfer objects from your source code and builds each request form for you. You send the request as any user, see the queries, logs, and events next to the response, and roll back the database changes when you are done.
Watch Nimbus at work in the walkthrough video or try it out on the live demo.
Why Nimbus?
Traditional HTTP clients, such as Postman and Bruno, run outside your application.
You copy each URL by hand, write each JSON body from scratch, refresh tokens, and clean the database after a destructive test. When a response looks wrong, you open another tool to find out why.
Nimbus runs inside your local app, so it already knows.
- Your routes become the request form. Nimbus parses routes, Form Requests, DTOs, and inline validation rules by static analysis.
- Send as any user. Pick a user and a guard, and Nimbus authenticates the request.
- See what happened. Queries, N+1 warnings, logs, dispatched events, and
dd()output appear beside the response. - Undo the DB changes. POST, PUT, and DELETE requests can run inside a transaction that rolls back on every database connection you configure.
Installation
Nimbus needs PHP 8.2 or higher and Laravel 10, 11, 12, or 13.
1. Install the package.
composer require --dev sunchayn/nimbus
2. Publish the assets and config.
php artisan vendor:publish --tag=nimbus-assets --tag=nimbus-config
3. Open Nimbus.
Start your application and go to /nimbus, for example http://your-app.test/nimbus.
Note
Single-threaded servers
The php artisan serve and Laravel Sail handle one request at a time, so relayed
requests can time out.
See the
single-threaded setup guide
for workarounds.
Warning
Local development only
Nimbus can run requests as any user in your system. Don't enable it on a server that is
reachable from the public internet.
Features
Build requests from your code
- Route and schema discovery. Routes, parameters, and types come from Form Requests, DTOs, and inline rules.
- OpenAPI support. When a spec exists, Nimbus merges it with what it finds in your routes.
- Autofill. Fill a request body with realistic test data in one click.
Send as any user
- Actor impersonation. Act as any user on any guard, with integer, UUID, or ULID keys, and find the user in a search picker.
- Request sandbox. Fake outbound HTTP calls, mail, queued jobs, and notifications for a single request.
- Time travel. Run a request as if it were a specific date and time.
See what happened
- Request insights. Database queries, timings, N+1 warnings, logs, and events on the same screen as the response.
- Debug interception.
dd()output opens in a paginated viewer instead of breaking the response. - History. Search past requests and restore the full state of any of them.
Keep your data safe
- Transaction rollback. Destructive requests roll back on every configured database connection.
Share work with your team and your tools
- Git-backed workspaces. Saved requests are plain files in your repository, so you review them in pull requests.
- Shared Links. Pre-configure a request and share it with your team-mate with one click.
- MCP server. AI coding assistants can list routes, read schemas, and check endpoint behavior inside a rollback.
Laravel toolbox
A dedicated page for tools that can be helpful dealing with your APIs.
- Decrypt session cookies.
- Create and verify temporary signed URLs.
- Decode JWT and Sanctum tokens.
- Check a password against a hash.
How Nimbus compares
Nimbus is not a documentation generator, a general API client or a replacement for automated tests. Use Scribe or Scramble for public docs, and Postman or Bruno for APIs you do not own.
It does less than a general API client, and it does more inside a Laravel app.
| Capability | Nimbus | Postman, Bruno | Swagger, Scribe | Telescope |
|---|---|---|---|---|
| Finds routes and rules without setup | Yes | No | Yes, as static docs | No |
| Interactive request builder | Yes | Yes | Playground only | No |
| Act as any user on any guard | Yes | Manual tokens | No | No |
| Database rollback on all connections | Yes | No | No | No |
| Queries and logs beside the response | Yes | No | No | Separate dashboard |
dd() interception |
Yes | Partial (may render HTML) |
No | Dumps only |
| MCP server for AI agents | Yes | Yes | No | No |
| Requests stored in Git | Yes | Partial | Not applicable | Not applicable |
| External third-party APIs | No | Yes | No | Outbound logs only |
| GraphQL, gRPC, WebSockets | No | Yes | Partial | No |
| JavaScript test scripts | No | Yes | No | No |
| CI collection runner | No | Yes | Partial | No |
| Hosted cloud sync and team workspaces | No | Yes | Static sites | Self-hosted |
| Public customer documentation | No | No | Yes | No |
| Staging and production monitoring | No | Monitors only | No | Yes |
Documentation
- User Guide: Comprehensive interface walkthrough and troubleshooting.
- Contributor Guide: Architecture overview and local development instructions.
License
Nimbus is open-source software licensed under the MIT license.
