aryeo / papi
Powerful API (PAPI) utilities.
Installs: 20 732
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: ^8.1
- devizzent/cebe-php-openapi: ^1.0
- minicli/minicli: ^2.0
- symfony/yaml: ^5.3
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: ^9.5
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