myparcelcom / json-api
MyParcel.com shared library with JSON API related exceptions, interfaces, traits and utility classes.
Installs: 65 926
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Requires
- php: >=8.2
- ext-json: *
- guzzlehttp/promises: ^1.0
- justinrainbow/json-schema: ^5.2
- laravel/framework: >=8.0
Requires (Dev)
- mockery/mockery: ^1.5
- phpunit/phpunit: >=9.5
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.7
- dev-master
- v3.1.1
- v3.1.0
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.4
- v0.8.3
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.7
- v0.7.6
- v0.7.5
- v0.7.4
- v0.7.3
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.17
- v0.6.16
- v0.6.15
- v0.6.14
- v0.6.13
- v0.6.12
- v0.6.11
- v0.6.10
- v0.6.9
- v0.6.8
- v0.6.7
- v0.6.6
- v0.6.5
- v0.6.4
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.1
- v0.5.0
- v0.4.4
- v0.4.2
- v0.4.1
- v0.4.0
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-dependabot/composer/laravel/framework-11.31.0
This package is auto-updated.
Last update: 2024-11-14 08:06:09 UTC
README
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.