aryeo / papi
Powerful API (PAPI) utilities.
v1.9.0
2021-07-15 00:00 UTC
Requires
- php: ^8.2
- cebe/php-openapi: ^1.8
- minicli/minicli: ^4.2
- symfony/yaml: ^6.4 || ^7.0
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^11.0
README
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