mevlutcelik/laravel-explorer
Composer 安装命令:
composer require mevlutcelik/laravel-explorer
包简介
An advanced API route explorer and testing workspace for Laravel.
README 文档
README
Laravel Explorer
An advanced, beautiful, and interactive API route explorer and testing workspace for Laravel 12+.
Built with Tailwind CSS, it provides a Postman/Insomnia-like experience directly within your Laravel application.
📸 Preview
✨ Key Features
- Interactive API Testing: Send
GET,POST,PUT,PATCH, andDELETErequests directly from your browser. - Smart Parameter Detection: Automatically detects URL Path parameters and analyzes your Controller/Closure code via PHP Reflection to find expected Body/Query parameters.
- Advanced Authentication Handling: Seamlessly manage
auth:sanctumor JWT tokens. Tokens are synced across the UI, persist inlocalStorage, and feature a secure visibility toggle. - Built-in REPL Console: A fully functional JavaScript console to interact with HTML responses, complete with command history (Up/Down arrows) and log interception.
- Code Snippet Generator: Instantly generates ready-to-use
cURLandFetch APIscripts for your endpoints. - Visual & Raw Output: Toggle between a beautifully formatted, syntax-highlighted JSON tree, Raw output, or an interactive HTML iFrame preview.
- Native Dark/Light Mode: Automatically matches your system preference or toggles manually without any flickering (No FOUC).
- Secure by Default: Runs only in the
localenvironment out of the box to prevent route and data leaks in production.
📦 Requirements
- PHP:
^8.2 - Laravel:
^12.0
🚀 Installation
You can install the package via composer. Since this is a developer tool, it is highly recommended to install it as a dev dependency:
composer require mevlutcelik/laravel-explorer --dev
🛠️ Usage
Once installed, simply start your Laravel development server:
php artisan serve
Then, visit the explorer in your browser:
http://localhost:8000/explorer
⚙️ Configuration (Optional)
Laravel Explorer works perfectly out of the box. However, if you want to change the default route path, environments, or apply custom middleware, you can publish the configuration file:
php artisan vendor:publish --tag="laravel-explorer-config"
This will create a config/laravel-explorer.php file in your app:
return [ /* * The path where the explorer will be accessible. */ 'path' => 'explorer', /* * The environments where the explorer is allowed to run. * For security reasons, this defaults to 'local' only. */ 'environments' => ['local'], /* * Middleware applied to the explorer route. */ 'middleware' => ['web'], ];
Note: If you modify the config file, remember to run php artisan config:clear.
🔒 Security Vulnerabilities
If you discover a security vulnerability within Laravel Explorer, please send an e-mail to Mevlüt Çelik via info@mevlutcelik.com. All security vulnerabilities will be promptly addressed.
👨💻 Credits
📄 License
The MIT License (MIT). Please see License File for more information.
mevlutcelik/laravel-explorer 适用场景与选型建议
mevlutcelik/laravel-explorer 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 16 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 mevlutcelik/laravel-explorer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mevlutcelik/laravel-explorer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 27
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-30