PHPackages                             jakubboucek/openwhisk-runtime - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. jakubboucek/openwhisk-runtime

ActiveLibrary[API Development](/categories/api)

jakubboucek/openwhisk-runtime
=============================

OpenWhisk runtime tools for PHP, eg. with DigitalOcean Serverless Functions

v0.1.0(2y ago)011MITPHPPHP ^8.2

Since Sep 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jakubboucek/php-openwhisk-runtime)[ Packagist](https://packagist.org/packages/jakubboucek/openwhisk-runtime)[ RSS](/packages/jakubboucek-openwhisk-runtime/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

OpenWhisk runtime tools for PHP
===============================

[](#openwhisk-runtime-tools-for-php)

This library provide tools for more clean handling responses for PHP apps running inside [OpenWhisk runtime](https://github.com/apache/openwhisk-runtime-php/blob/master/README.md).

In [raw OpenWhisk action](https://github.com/apache/openwhisk/blob/master/docs/actions-php.md#creating-and-invoking-php-actions)you need to return clearly defined Array - that's missing type control and it's liitle dirty.

This library provides tools to build responses for most of usually cases (HTTP, HTML, JSON responses, etc.).

Install
-------

[](#install)

```
composer require jakubboucek/openwhisk-runtime
```

Usage
-----

[](#usage)

### Sending OpenWhisk runtime's response without this library

[](#sending-openwhisk-runtimes-response-without-this-library)

```
