PHPackages                             faissaloux/pest-plugin-inside - 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. [Framework](/categories/framework)
4. /
5. faissaloux/pest-plugin-inside

ActiveLibrary[Framework](/categories/framework)

faissaloux/pest-plugin-inside
=============================

Files content plugin for Pest PHP

v1.10.0(5mo ago)45.3k2[1 PRs](https://github.com/faissaloux/pest-plugin-inside/pulls)2MITPHPPHP ^8.1CI failing

Since Oct 7Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/faissaloux/pest-plugin-inside)[ Packagist](https://packagist.org/packages/faissaloux/pest-plugin-inside)[ Fund](https://paypal.me/faissaloux)[ GitHub Sponsors](https://github.com/faissaloux)[ RSS](/packages/faissaloux-pest-plugin-inside/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (14)Used By (2)

PEST PLUGIN INSIDE
==================

[](#pest-plugin-inside)

This plugin checks what's inside the files.

[![Tests](https://github.com/faissaloux/pest-plugin-inside/actions/workflows/tests.yml/badge.svg)](https://github.com/faissaloux/pest-plugin-inside/actions/workflows/tests.yml)[![Codecov](https://camo.githubusercontent.com/457a7d44554677d1d0ead14f2c05cb87a0d79e6771680afef4c5ae2f182aa0fc/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6661697373616c6f75782f706573742d706c7567696e2d696e73696465)](https://camo.githubusercontent.com/457a7d44554677d1d0ead14f2c05cb87a0d79e6771680afef4c5ae2f182aa0fc/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6661697373616c6f75782f706573742d706c7567696e2d696e73696465)[![Packagist Version](https://camo.githubusercontent.com/5b91747209c095e3a8f5a96e0436b381a9580ba8d62bc7563537f8d4bc80a848/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6661697373616c6f75782f706573742d706c7567696e2d696e73696465)](https://camo.githubusercontent.com/5b91747209c095e3a8f5a96e0436b381a9580ba8d62bc7563537f8d4bc80a848/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6661697373616c6f75782f706573742d706c7567696e2d696e73696465)[![Total Downloads on Packagist](https://camo.githubusercontent.com/440897b8ceb2f3a0924cf53ac785c1974d1d43d69e313595632a6d4d6f53368f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6661697373616c6f75782f706573742d706c7567696e2d696e736964652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/faissaloux/pest-plugin-inside)[![Packagist License](https://camo.githubusercontent.com/10bb3759c01e667bdb13b3db261dd7e81dbe51948ec368af98db21fd7a46d217/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6661697373616c6f75782f706573742d706c7567696e2d696e73696465)](https://camo.githubusercontent.com/10bb3759c01e667bdb13b3db261dd7e81dbe51948ec368af98db21fd7a46d217/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6661697373616c6f75782f706573742d706c7567696e2d696e73696465)

Requirements
------------

[](#requirements)

pestphppest-plugin-inside^2.14^8.1^1.0.0^3.0^8.2^1.2.0^4.0^8.3^1.7.0Supported files
---------------

[](#supported-files)

- php
- txt
- stub

Available Expectations
----------------------

[](#available-expectations)

### toReturnLowercase

[](#toreturnlowercase)

Make sure a file or directory files returns an array with all lowercase values.

```
expect('file.php')->toReturnLowercase();
```

### toReturnUppercase

[](#toreturnuppercase)

Make sure a file or directory files returns an array with all uppercase values.

```
expect('file.php')->toReturnUppercase();
```

### toReturnUnique

[](#toreturnunique)

Make sure a file or directory files returns an array with unique values.

```
expect('file.php')->toReturnUnique();
```

### toReturnSingleWords

[](#toreturnsinglewords)

Make sure a file or directory files returns an array with single words.

```
expect('file.php')->toReturnSingleWords();
```

### toBeOrdered

[](#tobeordered)

Make sure a file or directory files returns an array with words that are ordered.

```
expect('file.php')->toBeOrdered();
```

### toReturnStrings

[](#toreturnstrings)

Make sure a file or directory files returns only string values.

```
expect('file.php')->toReturnStrings();
```

### forbidEmpty

[](#forbidempty)

Make sure a file or directory files does not return any empty value.

```
expect('file.php')->forbidEmpty();
```

---

### Success

[](#success)

```
