aryeo/papi

Powerful API (PAPI) utilities.

v1.6.9 2021-07-15 00:00 UTC

README

Latest Version on Packagist Total Downloads

A suite of tools for spec-driven API development in Laravel.

Installation

composer require aryeo/papi --dev

Usage

# show all commands
./bin/papi help

# report safe example...
export PWD=$(pwd)
./bin/papi report safe l_spec=${PWD}/examples/reference/PetStore/PetStore.2021-07-23.json c_spec=${PWD}/examples/reference/PetStore/PetStore.2021-07-23-changed.json

# report refs example...
export PWD=$(pwd)
./bin/papi report refs s_path=${PWD}/examples/reference/PetStore/PetStore.2021-07-24.json m_dir=${PWD}/examples/models

Contributing

Running Tests

./vendor/bin/phpunit