maslosoft / api-facades
OpenAPI chainable facades generator
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/maslosoft/api-facades
Requires
- php: >=7.4
- jane-php/open-api-3: *
- maslosoft/embedi: ^2|^3
- maslosoft/light: ^1|^2
Requires (Dev)
This package is auto-updated.
Last update: 2025-10-16 12:03:47 UTC
README
API Facades generator, allowing to call OpenAPI compatible API's with fluid interfaces
Install
composer require maslosoft/api-facades --dev
Unit tests
To create unit test, make may be used with self-explanatory command, for example:
make unit Generate/Trim
Will generate new unit test class in:
tests/Unit/GenerateTrimTest.php
Keep in mind to use forward slash for namespace of tests, as \
may be interpreted as ascape character and generated class namespece will be wrong.
Templates
Templates are stored as md files. This allows syntax highlighting, while not showing errors when using placeholders.