https://github.com/filaforge/api-explorer
https://github.com/filaforge/api-explorer
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/filaforge/api-explorer
- Owner: filaforge
- License: mit
- Created: 2025-08-13T09:10:13.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-13T09:30:33.000Z (11 months ago)
- Last Synced: 2025-08-13T10:24:53.570Z (11 months ago)
- Language: PHP
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Filaforge API Explorer
A Filament v4 panel plugin that adds an API Explorer page for testing H## Usage
After installation and registration, you'll find the "API Explorer" page in your Filament panel navigation. The page provides:
- **URL Input**: Enter the API endpoint you want to test
- **HTTP Method Selection**: Choose GET, POST, PUT, DELETE, etc.
- **Headers Management**: Add custom headers for authentication or content-type
- **Request Body**: For POST/PUT requests, provide JSON or form data
- **Response Display**: View the API response with syntax highlighting
- **History**: Keep track of your recent API calls
Navigate to your Filament panel and look for "API Explorer" in the sidebar to start testing your APIs.
## Configuration
No additional configuration is required. The plugin works out of the box after installation.
## Features
- ✅ Full HTTP method support (GET, POST, PUT, DELETE, PATCH, etc.)
- ✅ Custom headers management
- ✅ Request body support for JSON and form data
- ✅ Response syntax highlighting
- ✅ Request history
- ✅ Clean, intuitive interface matching Filament's design
---
**Package**: `filaforge/api-explorer`
**License**: MIT
**Requirements**: PHP ^8.1, Laravel ^12, Filament ^4.0s (similar to Postman) inside your admin panel.

## Requirements
- PHP >= 8.1
- Laravel 12 (illuminate/support ^12)
- Filament ^4.0
## Installation
### Step 1: Install via Composer
```bash
composer require filaforge/api-explorer
```
### Step 2: Service Provider Registration
The service provider is auto-discovered, so no manual registration is required.
### Step 3: Register the Plugin in Your Panel
Add the plugin to your Filament panel configuration in `app/Providers/Filament/AdminPanelProvider.php` (or your custom panel provider):
```php
default()
->id('admin')
->path('admin')
->login()
->colors([
'primary' => Color::Amber,
])
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
->pages([
Pages\Dashboard::class,
])
->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
->widgets([
Widgets\AccountWidget::class,
Widgets\FilamentInfoWidget::class,
])
->middleware([
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
->authMiddleware([
Authenticate::class,
])
// Add the plugin here
->plugin(ApiExplorerPlugin::make());
}
}
```
### Step 4: Clear Cache and Discover Assets
```bash
php artisan config:clear
php artisan route:clear
php artisan view:clear
```
## Usage
After registering, the plugin adds an API Explorer page to your panel. The exact URL depends on your panel path and navigation. Open your panel and look for “API Explorer”.
## Configuration
No configuration is required.
---
Package: `filaforge/api-explorer`## Filaforge API Explorer
A Filament plugin that provides a simple API testing page similar to Postman, with lazy‑loaded CSS assets.
Usage:
- Register in your panel provider:
```php
->plugin(\Filaforge\ApiExplorer\ApiExplorerPlugin::make())
```
The page appears as "API Explorer" in the admin navigation.