rewaj56 / flowsense
FlowSense - A simple Laravel package that provides detailed route information.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
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.