PHPackages                             italystrap/platform-requirements-check - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. italystrap/platform-requirements-check

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

italystrap/platform-requirements-check
======================================

Check the minimum and or maximum requirements for your application

2.0.0(2y ago)037[1 issues](https://github.com/ItalyStrap/platform-requirements-check/issues)MITPHPPHP &gt;=7.4

Since Jun 10Pushed 2y agoCompare

[ Source](https://github.com/ItalyStrap/platform-requirements-check)[ Packagist](https://packagist.org/packages/italystrap/platform-requirements-check)[ RSS](/packages/italystrap-platform-requirements-check/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (9)Versions (4)Used By (0)

Platform Requirements Check
===========================

[](#platform-requirements-check)

[![Build status](https://github.com/ItalyStrap/platform-requirements-check/actions/workflows/qa.yml/badge.svg)](https://github.com/ItalyStrap/platform-requirements-check/actions/workflows/qa.yml?query=workflow%3Aqa)[![Latest Stable Version](https://camo.githubusercontent.com/c131fe06138c3317389ea6c3d076cfc8e626973d991a1ab4c49f93048e278e74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6974616c7973747261702f706c6174666f726d2d726571756972656d656e74732d636865636b2e737667)](https://packagist.org/packages/italystrap/platform-requirements-check)[![Total Downloads](https://camo.githubusercontent.com/7418d29e0759a4b505dcc9dd0339127469e969d0a25d5908998466aa40815409/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6974616c7973747261702f706c6174666f726d2d726571756972656d656e74732d636865636b2e737667)](https://packagist.org/packages/italystrap/platform-requirements-check)[![Latest Unstable Version](https://camo.githubusercontent.com/94e4dda9a7d866d3251189b2386b8ff4f0c07c5054737942623964594141eeab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6974616c7973747261702f706c6174666f726d2d726571756972656d656e74732d636865636b2e737667)](https://packagist.org/packages/italystrap/platform-requirements-check)[![License](https://camo.githubusercontent.com/0e1c0e6f66d7a3f64080fe66796112010895be6f90c0256ecd30bc9babb4935c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6974616c7973747261702f706c6174666f726d2d726571756972656d656e74732d636865636b2e737667)](https://packagist.org/packages/italystrap/platform-requirements-check)[![PHP from Packagist](https://camo.githubusercontent.com/44dce90f3c8d8e09d2b9c6accc6831d7cca5f6e6a8d2c3420e49eff594a2c215/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6974616c7973747261702f706c6174666f726d2d726571756972656d656e74732d636865636b)](https://camo.githubusercontent.com/44dce90f3c8d8e09d2b9c6accc6831d7cca5f6e6a8d2c3420e49eff594a2c215/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6974616c7973747261702f706c6174666f726d2d726571756972656d656e74732d636865636b)[![Mutation testing badge](https://camo.githubusercontent.com/902d35f6177367c59fdb61a0e72560e49403fe1bcdfdb4cc0339e213f694ab37/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532464974616c79537472617025324663616368652532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/ItalyStrap/platform-requirements-check/master)

**Platform Requirements Check** is a PHP library that allows you to check system requirements for your PHP project or plugin. The library provides a simple interface that can be used to define and check system requirements like minimum and maximum PHP versions, PHP extensions, and any other specific project requirements.

This library support PHP 7.4 or higher. If you need to support PHP &lt;7.4 you can use the original [Minimum Requirement](https://github.com/overclokk/minimum-requirements) library where this is forked from.

Table Of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Basic Usage](#basic-usage)
- [Advanced Usage](#advanced-usage)
- [Contributing](#contributing)
- [License](#license)

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

[](#installation)

The best way to use this package is through Composer:

```
composer require italystrap/platform-requirements-check
```

This package adheres to the [SemVer](http://semver.org/) specification and will be fully backward compatible between minor versions.

Basic Usage
-----------

[](#basic-usage)

The first important thing to do is to require the autoloader file included in this package before the Composer autoloader:

```
