# Frosty's WordPress Utilities

![WP Utilities](.github/wp-utilities.jpg?raw=true "Frosty's WordPress Utilities")

[![PHP from Packagist](https://img.shields.io/packagist/php-v/thefrosty/wp-utilities.svg)]()
[![Latest Stable Version](https://img.shields.io/packagist/v/thefrosty/wp-utilities.svg)](https://packagist.org/packages/thefrosty/wp-utilities)
[![Total Downloads](https://img.shields.io/packagist/dt/thefrosty/wp-utilities.svg)](https://packagist.org/packages/thefrosty/wp-utilities)
[![License](https://img.shields.io/packagist/l/thefrosty/wp-utilities.svg)](https://packagist.org/packages/thefrosty/wp-utilities)
![Build Status](https://github.com/thefrosty/wp-utilities/actions/workflows/main.yml/badge.svg)
[![codecov](https://codecov.io/gh/thefrosty/wp-utilities/branch/develop/graph/badge.svg?token=UUBVKGTYTG)](https://codecov.io/gh/thefrosty/wp-utilities)
[![Donate with $DOGE](https://img.shields.io/static/v1?style=&logo=dogecoin&label=Donation&message=DFMbUjdxuQNJnbA622e7TNSJ3yxAdAWZEW&color=ba9f33)](#)  

A library containing my standard development resources to build high quality WordPress plugins.

### Requirements

```
PHP >= 8.1
WordPress >= 6.1
```

| PHP version      | WP Utilities |
|------------------|--------------|
| < 7.1            | 1.3.x        |
| \>= 7.1 && < 7.3 | 1.9.x        |
| 7.3              | 2.0.0        |
| \>= 7.4          | 2.1.0        |
| \>= 8.0          | 3.0          |
| \>= 8.1          | 3.3          |

The required WordPress version will always be the most recent point release of
the previous major release branch.

For both PHP and WordPress requirements, although this library may work with a
version below the required versions, they will not be supported and any
compatibility is entirely coincidental.

### Installation

To install this library, use Composer:

```
composer require thefrosty/wp-utilities:^3.3
```

Then follow examples in the [Plugin README](./src/Plugin/README.md)
