PHPackages                             calebdw/larastan-livewire - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. calebdw/larastan-livewire

ActivePhpstan-extension[Testing &amp; Quality](/categories/testing)

calebdw/larastan-livewire
=========================

A Larastan / PHPStan extension for Livewire.

v2.5.0(2mo ago)43482.4k—8.7%33MITPHPPHP ^8.2CI passing

Since Dec 22Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/calebdw/larastan-livewire)[ Packagist](https://packagist.org/packages/calebdw/larastan-livewire)[ Docs](https://github.com/calebdw/larastan-livewire)[ GitHub Sponsors](https://github.com/calebdw)[ RSS](/packages/calebdw-larastan-livewire/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (8)Versions (11)Used By (3)

 [![Larastan Livewire](/art/larastan_livewire.webp)](/art/larastan_livewire.webp)

A [Larastan](https://github.com/larastan/larastan) / [PHPStan](https://phpstan.org) extension for [Laravel Livewire](https://livewire.laravel.com/).

 [![Test Results](https://github.com/calebdw/larastan-livewire/actions/workflows/tests.yml/badge.svg)](https://github.com/calebdw/larastan-livewire/actions/workflows/tests.yml) [![License](https://camo.githubusercontent.com/72a7157fbbb208882d76456400d816a834a6bfaa55542a7cd1e4aa3d19f63a44/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f63616c656264772f6c6172617374616e2d6c69766577697265)](https://github.com/calebdw/larastan-livewire) [![Packagist Version](https://camo.githubusercontent.com/27ca6847401b5435a24041092959e1d95b749e1d9807136eb2caed44711a1eee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63616c656264772f6c6172617374616e2d6c697665776972652e737667)](https://packagist.org/packages/calebdw/larastan-livewire) [![Total Downloads](https://camo.githubusercontent.com/39ba41063dbd90a74d7c3d78a5242c3a93a8f19f0cecc9b33bab26c869816544/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63616c656264772f6c6172617374616e2d6c697665776972652e737667)](https://packagist.org/packages/calebdw/larastan-livewire)

Install
-------

[](#install)

```
composer require calebdw/larastan-livewire --dev
```

If you have the [PHPStan extension installer](https://phpstan.org/user-guide/extension-library#installing-extensions) installed then nothing more is needed, otherwise you will need to manually include the extension in the `phpstan.neon(.dist)` configuration file:

```
includes:
    - ./vendor/calebdw/larastan-livewire/extension.neon
```

Features
--------

[](#features)

### Computed Properties

[](#computed-properties)

[Computed properties](https://livewire.laravel.com/docs/computed-properties) are properly resolved from methods that have the `Computed` attribute applied.

```
