PHPackages                             cybercog/laravel-sense - 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. [Database &amp; ORM](/categories/database)
4. /
5. cybercog/laravel-sense

ActiveLibrary[Database &amp; ORM](/categories/database)

cybercog/laravel-sense
======================

Laravel Application Audit.

0.6.1(5y ago)141582[12 issues](https://github.com/cybercog/laravel-sense/issues)MITPHPPHP ^7.1.3CI failing

Since Sep 25Pushed 5y ago2 watchersCompare

[ Source](https://github.com/cybercog/laravel-sense)[ Packagist](https://packagist.org/packages/cybercog/laravel-sense)[ Docs](https://komarev.com/sources/laravel-sense)[ Fund](https://paypal.me/antonkomarev)[ RSS](/packages/cybercog-laravel-sense/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (5)Versions (13)Used By (0)

Laravel Sense
=============

[](#laravel-sense)

[![cog-laravel-sense](https://user-images.githubusercontent.com/1849174/46022813-fed4b300-c0eb-11e8-84c0-91a251c7d001.png)](https://user-images.githubusercontent.com/1849174/46022813-fed4b300-c0eb-11e8-84c0-91a251c7d001.png)

[![Releases](https://camo.githubusercontent.com/6ef0eb4748e7c50df8c5fa5c1166b74c82aeb7b5a4777fe5828ac3c83631e821/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6379626572636f672f6c61726176656c2d73656e73652e7376673f7374796c653d666c61742d737175617265)](https://github.com/cybercog/laravel-sense/releases)[![Build Status](https://camo.githubusercontent.com/ff5a7e3194f9a1b46aed7b2b4a721a38f6e3e9813eb94b53585d9055075a8906/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6379626572636f672f6c61726176656c2d73656e73652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/cybercog/laravel-sense)[![StyleCI](https://camo.githubusercontent.com/585b580886d66185db2b4b9cabcea249454940fa686e7c5a290c2092bbe5a534/68747470733a2f2f7374796c6563692e696f2f7265706f732f3135303237393531362f736869656c64)](https://styleci.io/repos/150279516)[![Code Quality](https://camo.githubusercontent.com/7bfa0266a253316f3b1b963679ce7c27689304e8300968ebd2b9bf5db9d7685c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6379626572636f672f6c61726176656c2d73656e73652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/cybercog/laravel-sense/?branch=master)[![License](https://camo.githubusercontent.com/d5fcc9ebd5f7f0749bc85f7a6532f65e72597a1eac698c70ecc4e8e74b8d5281/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6379626572636f672f6c61726176656c2d73656e73652e7376673f7374796c653d666c61742d737175617265)](https://github.com/cybercog/laravel-sense/blob/master/LICENSE)

Introduction
------------

[](#introduction)

> Beware! If you feel that your application starts to run slower, it can become a smelling zombie!

Laravel Sense provides a dashboard for application profiling. Sense allows you to easily monitor key metrics such as HTTP requests &amp; Eloquent queries. Understand what is happening in black box system in a minutes!

**DON'T USE IT ON PRODUCTION! PROFILING MAY SLOW DOWN YOUR APPLICATION ENORMOUSLY!**

### Requests list

[](#requests-list)

[![requests-list](https://user-images.githubusercontent.com/1849174/46025584-f7b0a380-c0f1-11e8-92f4-3dcb13364d65.png)](https://user-images.githubusercontent.com/1849174/46025584-f7b0a380-c0f1-11e8-92f4-3dcb13364d65.png)

### Request details

[](#request-details)

[![request-statements-index](https://user-images.githubusercontent.com/1849174/46025620-0d25cd80-c0f2-11e8-9b97-845b2f49242b.png)](https://user-images.githubusercontent.com/1849174/46025620-0d25cd80-c0f2-11e8-9b97-845b2f49242b.png)

Contents
--------

[](#contents)

- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
- [Changelog](#changelog)
- [Contributing](#contributing)
- [Testing](#testing)
- [Security](#security)
- [Contributors](#contributors)
- [Alternatives](#alternatives)
- [License](#license)
- [About CyberCog](#about-cybercog)

Features
--------

[](#features)

- Can profile APIs
- Designed to work with Laravel Eloquent models
- Dashboard with profiling summaries
- Easy to use dashboard authentication
- Following PHP Standard Recommendations:
    - [PSR-1 (Basic Coding Standard)](http://www.php-fig.org/psr/psr-1/)
    - [PSR-2 (Coding Style Guide)](http://www.php-fig.org/psr/psr-2/)
    - [PSR-4 (Autoloading Standard)](http://www.php-fig.org/psr/psr-4/)

Requirements
------------

[](#requirements)

Laravel Sense has a few requirements you should be aware of before installing:

- PHP 7.1.3+
- Composer
- Laravel Framework 5.5+

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

[](#installation)

You can install the package via Composer.

```
$ composer require cybercog/laravel-sense --dev
```

The package will register itself automatically.

#### Perform Database Migration

[](#perform-database-migration)

At last you need to publish and run database migrations.

```
$ php artisan migrate
```

If you want to make changes in migrations, publish them to your application first.

```
$ php artisan vendor:publish --tag=sense-migrations
```

Usage
-----

[](#usage)

### Dashboard Authentication

[](#dashboard-authentication)

Sense exposes a dashboard at `/sense`. By default, you will only be able to access this dashboard in the `local` environment. To define a more specific access policy for the dashboard, you should use the `\Cog\Laravel\Sense\Authentication\Services\Authenticator::using` method. The `using` method accepts a callback which should return `true` or `false`, indicating whether the user should have access to the Sense dashboard. Typically, you should call `Authenticator::using` in the boot method of your `AuthServiceProvider`:

```
\Cog\Laravel\Sense\Authentication\Services\Authenticator::using(function ($request) {
    // return true / false;
});
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Testing
-------

[](#testing)

Run the tests with:

```
$ vendor/bin/phpunit
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Contributors
------------

[](#contributors)

[![@antonkomarev](https://avatars.githubusercontent.com/u/1849174?s=110)
Anton Komarev](https://github.com/antonkomarev)[Laravel Sense contributors list](../../contributors)

Alternatives
------------

[](#alternatives)

- [barryvdh/laravel-debugbar](https://github.com/barryvdh/laravel-debugbar)
- [itsgoingd/clockwork](https://github.com/itsgoingd/clockwork)
- [jkocik/laravel-profiler](https://github.com/jkocik/laravel-profiler)

*Feel free to add more alternatives as Pull Request.*

License
-------

[](#license)

- `Laravel Sense` package is open-sourced software licensed under the [MIT license](LICENSE) by [Anton Komarev](https://komarev.com).
- `Smelling` image licensed under [Creative Commons 3.0](https://creativecommons.org/licenses/by/3.0/us/) by Gan Khoon Lay.

About CyberCog
--------------

[](#about-cybercog)

[CyberCog](https://cybercog.su) is a Social Unity of enthusiasts. Research best solutions in product &amp; software development is our passion.

- [Follow us on Twitter](https://twitter.com/cybercog)
- [Read our articles on Medium](https://medium.com/cybercog)

[![CyberCog](https://cloud.githubusercontent.com/assets/1849174/18418932/e9edb390-7860-11e6-8a43-aa3fad524664.png)](https://cybercog.su)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance3

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~72 days

Recently: every ~132 days

Total

11

Last Release

2117d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3fddc40462126bbc119e373ed6a3f942a90a400f30c076c447c0625b841c4ef?d=identicon)[antonkomarev](/maintainers/antonkomarev)

---

Top Contributors

[![antonkomarev](https://avatars.githubusercontent.com/u/1849174?v=4)](https://github.com/antonkomarev "antonkomarev (45 commits)")

---

Tags

auditcogcollectorsdebuggingeloquentlaravelmetricsprofilingsensesensorsmell-detectorlaraveldebugdatabaseprofilingeloquentquerydbAuditcogcybercogsmellsense

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cybercog-laravel-sense/health.svg)

```
[![Health](https://phpackages.com/badges/cybercog-laravel-sense/health.svg)](https://phpackages.com/packages/cybercog-laravel-sense)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M93](/packages/mongodb-laravel-mongodb)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k32.6M45](/packages/kirschbaum-development-eloquent-power-joins)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k332.0k1](/packages/cybercog-laravel-love)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M24](/packages/yajra-laravel-oci8)[cybercog/laravel-ban

Laravel Ban simplify blocking and banning Eloquent models.

1.1k681.6k12](/packages/cybercog-laravel-ban)

PHPackages © 2026

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