rewaj56/flowsense
最新稳定版本:v1.0.0
Composer 安装命令:
composer create-project rewaj56/flowsense
包简介
FlowSense - A simple Laravel package that provides detailed route information.
README 文档
README
FlowSense is a Laravel package that provides detailed route information. With just one click, you can see detailed information about the current route, including the URI, controller, and method. It's great for both new developers navigating a big codebase and experienced developers who want quick access to route details without switching between files.
Features
- Route Information: Displays the current route's URI, controller, and method.
- Floating Button: Adds a button to your web pages for accessing route details.
- Customizable: Easily integrate and configure with any Laravel application.
Screenshots
Prerequisites
- PHP >= 7.4 (7.4.33)
- Composer
- WAMP / XAMPP (for local development)
Installation
Using Composer
To install FlowSense, add it to your Laravel project via Composer:
composer require rewaj56/flowsense
Register Service Provider
In Laravel, the package’s service provider should be automatically discovered. If not, add it manually to your config/app.php providers array:
Rewaj56\Flowsense\Providers\FlowSenseServiceProvider::class,
Add Middleware
The middleware is automatically registered to the web middleware group. Ensure your Kernel.php includes:
protected $middlewareGroups = [ 'web' => [ // Other middleware... \Rewaj56\Flowsense\Http\Middleware\FlowSenseMiddleware::class, ], ];
Usage
Once installed, a floating button (bottom left) will appear on your web pages, allowing you to view the current route's details.
License
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-24