spryker / api
Api module
0.4.4
2024-09-20 14:38 UTC
Requires
- php: >=8.2
- spryker/api-extension: ^0.1.0
- spryker/event-dispatcher-extension: ^1.0.0
- spryker/kernel: ^3.52.0
- spryker/log: ^3.0.0
- spryker/router-extension: ^1.0.0
- spryker/symfony: ^3.5.0
- spryker/transfer: ^3.25.0
- spryker/util-encoding: ^2.0.1
- spryker/util-text: ^1.1.1
Requires (Dev)
Suggests
- spryker/container: Add this module when you want to use the Container.
- spryker/event-dispatcher: Add this module when you want to use the EventDispatcher.
- spryker/silex: Add this when you still want to use the abandoned Silex.
This package is auto-updated.
Last update: 2025-05-07 13:03:23 UTC
README
Each of our modules can have an API module. Our API modules expose CRUD facade methods (find, get, add, update, remove) that can be mapped to a URL via REST resource/action resolution. We ship some of our crucial modules as showcases, but you can easily create more such modules if needed. The main API module contains a dispatcher that delegates to those API module via resource map and returns the response in the expected format.
Installation
composer require spryker/api