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: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
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||^7.8
- 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: ^2.2
This package is auto-updated.
Last update: 2025-10-22 08:20:49 UTC
README
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 configuration for each endpoint. Nimbus eliminates this friction by:
- Auto-discovering your Laravel routes and validation rules.
- Generating schemas automatically from your Form Requests and inline validation.
- Providing intelligent autocomplete and validation based on your rules.
- Supporting authentication including session-based and user impersonation.
- Inspecting cookies with automatic decryption.
- Testing instantly without leaving your development environment.
What Nimbus Is NOT
Nimbus is not an API documentation generator. It doesn't produce client-facing API documentation. Instead, it's a developer-focused API playground designed to improve your development experience while building and testing APIs.
Features
- Automatic route and schema discovery from Laravel routes and validation rules.
- Built-in, polished interface for testing API endpoints in your browser.
- Response viewer with JSON formatting and syntax highlighting.
- Cookie inspection with automatic Laravel cookie decryption.
- Special authentication modes:
- Make requests as the currently logged-in user.
- Impersonate other users by ID.
- Bearer token and Basic Auth support.
- Inline value generators for realistic test data (UUIDs, emails, names, dates, etc.).
- Global headers automatically applied to every request.
- One-click payload population with realistic test data.
- Export requests as cURL commands.
Quick Start
Requirements
- PHP 8.2 or higher.
- Laravel 10.x, 11.x, or 12.x.
Installation
Install via Composer:
composer require sunchayn/nimbus
Publish the configuration and assets:
php artisan vendor:publish --tag=nimbus-assets --tag=nimbus-config
This publishes config/nimbus.php
and the necessary frontend assets.
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 in alpha to validate the concept. You may encounter unexpected behaviors or bugs. We welcome your feedback:
- Report bugs: Open an issue
- Share ideas: Start a discussion
- Ask questions: Q&A discussions
Contributing
We welcome contributions! Please read our Contributor Guide for:
- Architecture overview and design principles.
- Development environment setup.
- Coding standards and testing guidelines.
- Pull request process.
License
Nimbus is open-source software licensed under the MIT license.