PHPackages                             ijpatricio/nova-larastan-tool - 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. ijpatricio/nova-larastan-tool

ActiveLibrary

ijpatricio/nova-larastan-tool
=============================

A Laravel Nova tool.

v0.1.7(7y ago)6316MITPHPPHP &gt;=7.1.0

Since Sep 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ijpatricio/nova-larastan-tool)[ Packagist](https://packagist.org/packages/ijpatricio/nova-larastan-tool)[ RSS](/packages/ijpatricio-nova-larastan-tool/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (8)Used By (0)

Nova Larastan Tool
==================

[](#nova-larastan-tool)

Run Larastan right from your Laravel Nova application

[![nova_larastan screenshot](docs/NovaLarastanTool.png)](docs/NovaLarastanTool.png)

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

[](#installation)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require ijpatricio/nova-larastan-tool
```

Next up, you must register the tool with Nova. This is typically done in the `tools` method of the `NovaServiceProvider`.

```
// in app/Providers/NovaServiceProvider.php

// ...
public function tools()
{
    return [
        // ...
        new \Ijpatricio\NovaLarastanTool\NovaLarastanTool(),
    ];
}
```

As Larastan is mainly for a dev environment, to keep the dependencies `dev` only, you can setup previous `tools()` method as following:

```
public function tools()
{
    $tools = [
        //... your regular tools
    ];

    if (app()->environment() === 'local') {
        $tools = array_merge($tools, [
            //... your require-dev tools
            new \Ijpatricio\NovaLarastanTool\NovaLarastanTool()
        ]);
    }

    return $tools;
}
```

Usage
-----

[](#usage)

Click on the "Analyse code" button. That's it.

If Larastan is not installed, you will instead see something like this:

[![nova_larastan screenshot](docs/LarastanNotInstalled.png)](docs/LarastanNotInstalled.png)

Go to [LarastanGithubRepository](https://github.com/nunomaduro/larastan) for installation details.

### Changelog

[](#changelog)

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

### Security

[](#security)

If you discover any security related issues, please email ijpatricio (at) gmail dot com instead of using the issue tracker.

Credits
-------

[](#credits)

- [João Patrício](https://github.com/ijpatricio)
- [Nuno Maduro](https://github.com/nunomaduro)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~1 days

Total

7

Last Release

2799d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/244a7b6892a44d2bf07b1643486aa8ee67900623764a5f08533a38da07403cd1?d=identicon)[ijpatricio](/maintainers/ijpatricio)

---

Top Contributors

[![ijpatricio](https://avatars.githubusercontent.com/u/26031459?v=4)](https://github.com/ijpatricio "ijpatricio (10 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/ijpatricio-nova-larastan-tool/health.svg)

```
[![Health](https://phpackages.com/badges/ijpatricio-nova-larastan-tool/health.svg)](https://phpackages.com/packages/ijpatricio-nova-larastan-tool)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10149.1k](/packages/coreproc-nova-notification-feed)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

40199.8k](/packages/cybercog-laravel-nova-ban)[insenseanalytics/nova-server-monitor

A Laravel Nova tool for Spatie's Server Monitor library.

6546.9k](/packages/insenseanalytics-nova-server-monitor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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