https://github.com/pawel-slowik/slim-soap-server
A SOAP server based on the Slim Framework
https://github.com/pawel-slowik/slim-soap-server
slim-framework soap soap-server
Last synced: 4 months ago
JSON representation
A SOAP server based on the Slim Framework
- Host: GitHub
- URL: https://github.com/pawel-slowik/slim-soap-server
- Owner: pawel-slowik
- License: mit
- Created: 2019-09-05T09:17:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-05-28T19:32:25.000Z (about 1 year ago)
- Last Synced: 2025-06-17T07:48:00.001Z (12 months ago)
- Topics: slim-framework, soap, soap-server
- Language: PHP
- Homepage:
- Size: 524 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Build Status][build-badge]
[![Coverage][coverage-badge]][coverage-url]
[build-badge]: https://github.com/pawel-slowik/slim-soap-server/workflows/tests/badge.svg
[coverage-badge]: https://codecov.io/gh/pawel-slowik/slim-soap-server/branch/master/graph/badge.svg
[coverage-url]: https://codecov.io/gh/pawel-slowik/slim-soap-server
A proof of concept [SOAP](https://en.wikipedia.org/wiki/SOAP) server based on
the [Slim Framework](http://www.slimframework.com/). Features automated WSDL
generation and integrated service documentation.
## Installation
docker compose build
docker compose run --rm php-fpm composer install
## Usage
Start the application with:
docker compose up -d
Open in your browser.
You can set the `HTTP_PORT` environment variable to a different port number if
the default conflicts with some other service.
## Limitations
The classes that are being exposed as SOAP services or types need to have
complete PHPDoc docblocks (native PHP typehints are not enough). This is
required for the WSDL generation to work correctly. For details, see
[Class autodiscovery](https://docs.laminas.dev/laminas-soap/auto-discovery/#class-autodiscovery)
and [Adding complex type information](https://docs.laminas.dev/laminas-soap/wsdl/#adding-complex-type-information).
## Tests
Run tests with:
docker compose run --rm php-fpm composer test