rewaj56/flowsense

FlowSense - Route Details Instantly.

v1.2.0 2024-09-08 17:07 UTC

This package is auto-updated.

Last update: 2024-09-08 17:24:30 UTC


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

App Screenshot

App Screenshot

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

MIT