PHPackages                             arkecosystem/stan - 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. arkecosystem/stan

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

arkecosystem/stan
=================

Static Analysis &amp; Testing for Laravel. Powered by PHPStan and Pest.

4.0.1(4y ago)175.6k11MITPHP

Since Oct 21Pushed 4y agoCompare

[ Source](https://github.com/ArkEcosystemArchive/laravel-stan)[ Packagist](https://packagist.org/packages/arkecosystem/stan)[ RSS](/packages/arkecosystem-stan/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (21)Versions (15)Used By (1)

Laravel Stan
============

[](#laravel-stan)

 [![](./banner.png)](./banner.png)

> Static Analysis &amp; Testing for Laravel. Powered by PHPStan and Pest.

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

[](#installation)

1. Require with composer: `composer require arkecosystem/stan --dev`
2. Publish all configurations with `php artisan vendor:publish --provider="ARKEcosystem\Stan\StanServiceProvider" --tag=config`.
3. Publish all workflows with `php artisan vendor:publish --provider="ARKEcosystem\Stan\StanServiceProvider" --tag=workflows`.
4. Start tweaking the configurations as needed for your project.

File Analysis
-------------

[](#file-analysis)

When working on larger projects it can happen that you move files on a regular basis and forget to update a reference. We use [graham-campbell/analyzer](https://github.com/GrahamCampbell/Analyzer) to avoid this. Create the file `tests/Analysis/AnalysisTest.php` and the test suite will fail if any references don't match a file.

```
