filaforge/filament-api-explorer
Composer 安装命令:
composer require filaforge/filament-api-explorer
包简介
API Explorer plugin for testing API endpoints similar to Postman
README 文档
README
A powerful Filament plugin for exploring and testing API endpoints directly from your admin panel.
Features
- API Endpoint Explorer: Browse and test all your API routes
- Request Builder: Easy-to-use interface for building API requests
- Response Viewer: Beautiful display of API responses
- Authentication Support: Handle various auth methods
- Request History: Keep track of your API testing
- Export Results: Save and share your API test results
Installation
1. Install via Composer
composer require filaforge/api-explorer
2. Publish & Migrate
# Publish provider groups (config, views, migrations) php artisan vendor:publish --provider="Filaforge\\ApiExplorer\\Providers\\ApiExplorerServiceProvider" # Run migrations php artisan migrate
3. Register Plugin
Add the plugin to your Filament panel provider:
use Filament\Panel; public function panel(Panel $panel): Panel { return $panel // ... other configuration ->plugin(\Filaforge\ApiExplorer\ApiExplorerPlugin::make()); }
Setup
Configuration
The plugin will automatically:
- Publish configuration files to
config/api-explorer.php - Publish view files to
resources/views/vendor/api-explorer/ - Publish migration files to
database/migrations/ - Register necessary routes and middleware
Customization
You can customize the plugin behavior by editing the published configuration file:
// config/api-explorer.php return [ 'route_prefix' => 'api-explorer', 'middleware' => ['web', 'auth'], 'max_history' => 100, ];
Usage
Accessing the API Explorer
- Navigate to your Filament admin panel
- Look for the "API Explorer" menu item
- Start exploring your API endpoints
Testing API Endpoints
- Select Endpoint: Choose from available API routes
- Set Parameters: Configure request parameters, headers, and body
- Send Request: Execute the API call
- View Response: See the response data, status, and headers
- Save Results: Store successful requests for future reference
Authentication
The plugin supports various authentication methods:
- Bearer tokens
- API keys
- Session cookies
- Custom headers
Troubleshooting
Common Issues
- Routes not showing: Ensure your API routes are properly registered
- Authentication failing: Check your auth configuration and tokens
- CORS issues: Verify your CORS settings for the API endpoints
- Missing permissions: Ensure the user has access to the API Explorer
Debug Steps
- Check the plugin configuration:
php artisan config:show api-explorer
- Verify routes are registered:
php artisan route:list | grep api-explorer
- Clear caches:
php artisan optimize:clear
- Check logs for errors:
tail -f storage/logs/laravel.log
Uninstall
1. Remove Plugin Registration
Remove the plugin from your panel provider:
// remove ->plugin(\Filaforge\ApiExplorer\ApiExplorerPlugin::make())
2. Roll Back Migrations (Optional)
php artisan migrate:rollback
# or roll back specific published files if needed
3. Remove Published Assets (Optional)
rm -f config/api-explorer.php rm -rf resources/views/vendor/api-explorer
4. Remove Package and Clear Caches
composer remove filaforge/api-explorer php artisan optimize:clear
Support
- Documentation: GitHub Repository
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Contributing
We welcome contributions! Please see our Contributing Guide for details.
License
This plugin is open-sourced software licensed under the MIT license.
Made with ❤️ by the Filaforge Team
filaforge/filament-api-explorer 适用场景与选型建议
filaforge/filament-api-explorer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 08 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「platform」 「filament」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 filaforge/filament-api-explorer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 filaforge/filament-api-explorer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 filaforge/filament-api-explorer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
LinkedIn API PHP SDK with OAuth 2.0 & CSRF support. Can be used for social sign in or sharing on LinkedIn. Examples. Documentation.
LinkedIn API PHP SDK with OAuth 2.0 & CSRF support. Can be used for social sign in or sharing on LinkedIn. Examples. Documentation.
A PHP desktop/mobile user agent parser with support for Laravel, based on Mobiledetect
Alfabank REST API integration
Press package for Orchid Platform
A foundation to build applications using Phalcon.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 27
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-19