functions-framework-php
functions-framework-php copied to clipboard
FaaS (Function as a service) framework for writing portable PHP functions
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [nick-invision/retry](https://togithub.com/nick-invision/retry) | action | major | `v1.0.4` -> `v3.0.0` | ---...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/dependency-review-action](https://togithub.com/actions/dependency-review-action) | action | major | `v3.1.5` -> `v4.3.3` | ---...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [psr/http-message](https://togithub.com/php-fig/http-message) | `^1.0` -> `^2.0` | [](https://docs.renovatebot.com/merge-confidence/)...
:robot: I have created a release *beep* *boop* --- ## [1.4.0](https://github.com/GoogleCloudPlatform/functions-framework-php/compare/v1.3.0...v1.4.0) (2024-06-03) ### Features * add environment variable for configuring max_execution_time ([#185](https://github.com/GoogleCloudPlatform/functions-framework-php/issues/185)) ([fd1ca55](https://github.com/GoogleCloudPlatform/functions-framework-php/commit/fd1ca55def1bf267caf8ed0bf6ee1625df64abbf)) ### Bug Fixes * use full import...
Closes #66 Since `Z` and `+00:00` are aliases in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-4.3) and PHP happens to output +00:00 when the `P` (and thus the `RFC3339_EXTENDED`) format character is used, I chose...
Having issues with FunctionsFramework::cloudEvent() when running in Cloud Functions (but not locally) as documented at https://cloud.google.com/functions/docs/tutorials/pubsub#preparing_the_application. I'm calling the following: ```php FunctionsFramework::cloudEvent('eventarc-event-name', 'myFunctionName'); function myFunctionName(\CloudEvents\V1\CloudEventInterface $event) ``` This runs locally,...
Current format: ```php gmdate('%Y-%m-%dT%H:%M:%S.%6NZ') ``` That produces, for example, this string `%2023-%09-%29GMT%13:%Sep:%th.%650` instead of the [RFC 3339](https://tools.ietf.org/html/rfc3339) format. It's an easy fix; I'll send a Pull Request. This might also...
Use ISO8601 format when the `publishTime` is not provided in the message. Fixes #167
Statically requiring `^1.0` may cause dependency issues; this should be `^1.1 || ^2.0` instead. https://github.com/GoogleCloudPlatform/functions-framework-php/blob/5b645eedc7508a16481c364e8cd209fb176d3e03/composer.json#L8 For example (with optional switch `-t`): composer why psr/http-message google/auth v1.30.0 requires psr/http-message (^1.1||^2.0) google/cloud-core...