PHPackages                             phpyh/psalm-tester - 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. phpyh/psalm-tester

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

phpyh/psalm-tester
==================

Test Psalm via phpt files!

0.1.0(2y ago)210.7k↓32.1%1[1 issues](https://github.com/phpyh/psalm-tester/issues)[1 PRs](https://github.com/phpyh/psalm-tester/pulls)2MITPHPPHP ^8.1CI failing

Since Jan 24Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/phpyh/psalm-tester)[ Packagist](https://packagist.org/packages/phpyh/psalm-tester)[ RSS](/packages/phpyh-psalm-tester/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (10)Versions (2)Used By (2)

PHPyh Psalm Tester
==================

[](#phpyh-psalm-tester)

Test Psalm via phpt files!

[![Latest Stable Version](https://camo.githubusercontent.com/a54d5ea96dad2ead90fd46810f1b560bbfacdcc74b4efc778b7291e81a4279b7/68747470733a2f2f706f7365722e707567782e6f72672f70687079682f7073616c6d2d7465737465722f762f737461626c652e706e67)](https://packagist.org/packages/phpyh/psalm-tester)[![Total Downloads](https://camo.githubusercontent.com/2aa8b8f3f21646c5bf83475279eafe3c8dc71860f9abbd661d7b5c994f0c13ab/68747470733a2f2f706f7365722e707567782e6f72672f70687079682f7073616c6d2d7465737465722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/phpyh/psalm-tester)[![psalm-level](https://camo.githubusercontent.com/8a16480d858af47c2e2a6e2d7f5ae671cc6bd9cea876f236f66bafde6d2b610a/68747470733a2f2f73686570686572642e6465762f6769746875622f70687079682f7073616c6d2d7465737465722f6c6576656c2e737667)](https://shepherd.dev/github/phpyh/psalm-tester)[![type-coverage](https://camo.githubusercontent.com/499365ea77ad40a2d91c6702fa568f08e764adc72df1a538769472aa62147e4d/68747470733a2f2f73686570686572642e6465762f6769746875622f70687079682f7073616c6d2d7465737465722f636f7665726167652e737667)](https://shepherd.dev/github/phpyh/psalm-tester)

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

[](#installation)

```
composer require --dev phpyh/psalm-tester
```

Basic usage
-----------

[](#basic-usage)

### 1. Write a test in phpt format

[](#1-write-a-test-in-phpt-format)

`tests/array_values.phpt`

```
--FILE--
