PHPackages                             rewaj56/flowsense - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. rewaj56/flowsense

ActiveProject[Debugging &amp; Profiling](/categories/debugging)

rewaj56/flowsense
=================

FlowSense - A Laravel package providing a floating debug toolbar with detailed route, query, view, performance, request, and log information.

00PHP

Since Jan 28Pushed 3mo agoCompare

[ Source](https://github.com/rewaj56/flowsense)[ Packagist](https://packagist.org/packages/rewaj56/flowsense)[ RSS](/packages/rewaj56-flowsense/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

FlowSense
=========

[](#flowsense)

FlowSense is a Laravel package that provides a developer toolbar and detailed route information. With FlowSense, you can inspect your routes, queries, view data, request info, and performance metrics directly from your browser without leaving your application.

It’s designed for both new developers navigating a large Laravel codebase and experienced developers who want a quick debugging panel.

---

Features
--------

[](#features)

- **Route Information:** Displays the current route’s URI, controller, method, route name, middleware, and parameters.
- **Database Queries:** Shows executed SQL queries, bindings, execution time, and highlights slow queries.
- **Performance Metrics:** Response time, total DB query time, memory usage, peak memory, PHP version, and Laravel version.
- **Request Info:** HTTP method, URL, query parameters, headers, and cookies.
- **Views Debugging:** Lists views rendered during the request along with the variables passed to each view.
- **Logs:** Displays application logs for the current request.
- **Collapsible Toolbar:** Toolbar can be collapsed/expanded for minimal interference.
- **Customizable UI:** Easily style the toolbar using your application’s accent colors.

---

Screenshots
-----------

[](#screenshots)

### Toolbar

[](#toolbar)

[![Toolbar Screenshot](https://raw.githubusercontent.com/rewaj56/flowsense/main/screenshots/screenshot1.jpg)](https://raw.githubusercontent.com/rewaj56/flowsense/main/screenshots/screenshot1.jpg)

### Queries

[](#queries)

[![Queries Screenshot](https://raw.githubusercontent.com/rewaj56/flowsense/main/screenshots/screenshot2.jpg)](https://raw.githubusercontent.com/rewaj56/flowsense/main/screenshots/screenshot2.jpg)

### Views

[](#views)

[![Views Screenshot](https://raw.githubusercontent.com/rewaj56/flowsense/main/screenshots/screenshot3.jpg)](https://raw.githubusercontent.com/rewaj56/flowsense/main/screenshots/screenshot3.jpg)

---

Prerequisites
-------------

[](#prerequisites)

- **PHP &gt;= 7.4**
- **Composer**
- **Laravel &gt;= 8.x**

---

Installation
------------

[](#installation)

### Using Composer

[](#using-composer)

To install FlowSense, add it to your Laravel project via Composer:

```
 composer require rewaj56/flowsense
```

### Register Service Provider

[](#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

[](#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
-----

[](#usage)

Once installed, the toolbar appears at the bottom of your application pages. Click the tabs to view:

- **Route:** Current route details
- **Queries:** Executed SQL queries and timings
- **Performance:** Memory, response time, and PHP/Laravel versions
- **Request:** Method, headers, cookies, query parameters
- **Views:** Rendered views with passed variables
- **Logs:** Application logs

You can collapse the toolbar by clicking the arrow on the top-left corner.

---

Common Issues &amp; Notes
-------------------------

[](#common-issues--notes)

- **Views Data Empty:** If you don’t see variables in the Views tab, ensure you are using `View::composer('*', ...)` in the ServiceProvider.
- **Query/SQL Data Missing:** Queries are only tracked when `app.debug` is `true`.
- **Asset 404 Errors:** If CSS/JS files fail to load, run `php artisan vendor:publish --tag=flowsense-assets` and ensure `public/vendor/flowsense` exists.
- **JS Errors on Page Load:** Wrap JS code inside `document.addEventListener("DOMContentLoaded", ...)` to avoid errors when toolbar elements aren’t yet rendered.
- **Performance Impact:** The toolbar collects queries, views, and logs, so use only in **local or debug environments**, not in production.

---

Customization
-------------

[](#customization)

- **Toolbar Colors:** Update `resources/views/vendor/flowsense/css/flowsense-toolbar.css` or override styles in your app.
- **Tabs &amp; Panels:** Add/remove tabs by modifying `bar.blade.php` and the corresponding JS.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance53

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/813b255db94721442c97858e8adb394ea845496b055123e0f89a7dd9ce866829?d=identicon)[rewaj56](/maintainers/rewaj56)

---

Top Contributors

[![rewaj56](https://avatars.githubusercontent.com/u/119500784?v=4)](https://github.com/rewaj56 "rewaj56 (1 commits)")

### Embed Badge

![Health badge](/badges/rewaj56-flowsense/health.svg)

```
[![Health](https://phpackages.com/badges/rewaj56-flowsense/health.svg)](https://phpackages.com/packages/rewaj56-flowsense)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)[beyondcode/helo-laravel

HELO Laravel debug helper

90360.1k](/packages/beyondcode-helo-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
