Skip to content

MyParcelCOM/json-api

Repository files navigation

MyParcel.com JSON API

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.

About

MyParcel.com PHP library with shared JSON API resources

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 10

Languages