PHPackages                             typehints/laravel-unused - 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. typehints/laravel-unused

ActiveLibrary

typehints/laravel-unused
========================

Unused Views,Controllers,.. for Laravel

v0.1.2(5y ago)483.3k6[1 issues](https://github.com/typehints/laravel-unused/issues)[13 PRs](https://github.com/typehints/laravel-unused/pulls)MITPHPPHP &gt;=7.1

Since Mar 12Pushed 3y ago3 watchersCompare

[ Source](https://github.com/typehints/laravel-unused)[ Packagist](https://packagist.org/packages/typehints/laravel-unused)[ RSS](/packages/typehints-laravel-unused/feed)WikiDiscussions develop Synced today

READMEChangelog (2)Dependencies (5)Versions (20)Used By (0)

Detect Unused Views on your Laravel Application
===============================================

[](#detect-unused-views-on-your-laravel-application)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Quality Score](https://camo.githubusercontent.com/8c0741ea80cb249edd73319921c33eb780248866db59e1815d43bb5d6c2cc381/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7479706568696e74732f6c61726176656c2d756e757365642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/typehints/laravel-unused/)[![StyleCI](https://camo.githubusercontent.com/91732d3574dd1c142707a56fb59cb9731f97ce051898a0295b6c20f580315661/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3234363933313432312f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/246931421)

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

[](#introduction)

LaraveUnused provides a UI where you can preview unused views from scanning all the routes on your application. It also allows you to see more data about used views like the action code where the view is being used / the partials that are used on a specific view / the views that a route is triggering...

[![](/demo.png?raw=true)](/demo.png?raw=true)

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

[](#installation)

You can install the package via composer:

```
composer require typehints/laravel-unused
```

You have to publish the package configuration using:

```
php artisan vendor:publish --provider=TypeHints\\Unused\\ServiceProvider
```

This will publish `config/laravel-unused.php` and `vendor/laravel-unused`

Usage
-----

[](#usage)

You just need to visit `/laravelunused` if you didn't change `route_prefix` in your config (make sure debug mode is true)

You can also add your own middelwares on `config/laravel-unused.php`

```
    'middleware' => [
        TypeHints\Unused\Middleware\LaravelUnusedMiddleware::class,
        // Custom Middleware
    ],
```

Testing
-------

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Mohamed Benhida](https://github.com/simoebenhida)

License
-------

[](#license)

The MIT License (MIT). Please see the [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.1% 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 ~168 days

Total

3

Last Release

1914d ago

### Community

Maintainers

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

---

Top Contributors

[![simoebenhida](https://avatars.githubusercontent.com/u/19809072?v=4)](https://github.com/simoebenhida "simoebenhida (39 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (20 commits)")

---

Tags

laravelunused

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/typehints-laravel-unused/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M684](/packages/barryvdh-laravel-ide-helper)[laravel/wayfinder

Generate TypeScript representations of your Laravel actions and routes.

1.7k4.1M69](/packages/laravel-wayfinder)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel/folio

Page based routing for Laravel.

608453.9k27](/packages/laravel-folio)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)

PHPackages © 2026

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