myparcelcom/json-api

There is no license information available for the latest version (v3.0.4) of this package.

MyParcel.com shared library with JSON API related exceptions, interfaces, traits and utility classes.


README

GitHub Actions Packagist

Shared library with JSON API related exceptions, interfaces, traits and utility classes.

Installation

The library uses Docker to run php and composer. To install Docker, follow the steps in the documentation.

Setup

To set up the project, run:

./mp.sh setup

Commands

The following commands are available for development:

./mp.sh composer <args> - Run composer inside the container.

./mp.sh php <args> - Run any command on the php container.

./mp.sh test <args> - Run the PHPUnit tests.

A few composer scripts have been defined, you can call these using the following commands:

./mp.sh composer check-style - Check if the code is PSR-2 compliant.

./mp.sh composer fix-style - Automatically fix non-PSR-2 code (not all errors can be automatically fixed).

License

All software by MyParcel.com is licensed under the MyParcel.com general terms and conditions.