brickx/pest-plugin-money

A Pest plugin to work with popular money libraries
522 1
Install
composer require brickx/pest-plugin-money
Latest Version:2.0.0
PHP:^8.1
License:MIT
Last Updated:Mar 22, 2023
Links: GitHub  ·  Packagist
Maintainer: Keysaw

Pest Plugin Money

This package is a plugin for Pest PHP.

It provides useful expectations for testing monetary values, provided by popular libraries like brick/money, moneyphp/money and archtechx/money.

It is heavily inspired by Luke Downing's plugin, but was updated and tweaked for Pest 2.0. Please check out the original repository!

Installation

To get started, install the plugin using composer:

composer require brickx/pest-plugin-money --dev

This package requires the following:

  • Pest PHP
  • Either the Brick Money, MoneyPHP or Archtech Money libraries
  • PHP 7.3 or greater

Usage

Nothing yet!

Contact

Created by Keysaw.