PHPackages                             taskvalve/functions - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. taskvalve/functions

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

taskvalve/functions
===================

1.0.1(2y ago)24MITPHP

Since Oct 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/taskvalve/functions)[ Packagist](https://packagist.org/packages/taskvalve/functions)[ RSS](/packages/taskvalve-functions/feed)WikiDiscussions main Synced 1mo ago

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

TaskValve Functions
===================

[](#taskvalve-functions)

Run TypeScript functions in the cloud from your Laravel PHP workflows!

Installation
------------

[](#installation)

```
composer require taskvalve/functions
```

Configuration
-------------

[](#configuration)

config/services.php

```
'taskvalve' => [
    'api_key' => env('TASKVALVE_API_KEY'),
],
```

.env

```
TASKVALVE_API_KEY=[YOUR_API KEY}

```

Usage
-----

[](#usage)

```
use TaskValve\CloudFunction;
use Workflow\ActivityStub;
use Workflow\Workflow;
use Workflow\WorkflowStub;

class MyWorkflow extends Workflow
{
    public function execute()
    {
        return yield ActivityStub::make(CloudFunction::class, 'my-function');
    }
}
```

Examples
--------

[](#examples)

See [https://developer.mozilla.org/en-US/docs/Web/API/Fetch\_API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) for `Request` and `Response` documentation.

### Return JSON

[](#return-json)

```
export default async (request) => {
    return new Response(JSON.stringify({ data: ['test'] }), {
        headers: { 'content-type': 'application/json' }
    })
}

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

943d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cc4e03d21bee1d338a3d10c5002c2b13c7602825c20d436a9481a90254cac9a?d=identicon)[rmcdaniel](/maintainers/rmcdaniel)

---

Top Contributors

[![rmcdaniel](https://avatars.githubusercontent.com/u/1130888?v=4)](https://github.com/rmcdaniel "rmcdaniel (6 commits)")

### Embed Badge

![Health badge](/badges/taskvalve-functions/health.svg)

```
[![Health](https://phpackages.com/badges/taskvalve-functions/health.svg)](https://phpackages.com/packages/taskvalve-functions)
```

###  Alternatives

[php-sap/saprfc-kralik

PHP/SAP implementation for Gregor Kraliks sapnwrfc module. See https://php-sap.github.io for details.

1019.3k](/packages/php-sap-saprfc-kralik)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
