php-sdk
php-sdk copied to clipboard
PHP implementation of the OpenFeature SDK
This includes upgrading to newer language offerings like native enums - [ ] Drop support for PHP 8.0 - [ ] Refactor to utilize native enums - [ ] Refactor...
Using something like ReadTheDocs or similar, provide documentation for usage of the PHP SDK.
## Implement specification v0.7.0 changes See [changes since last release](https://github.com/open-feature/spec/compare/v0.5.2...v0.7.0). **_Please note there's no need to complete all these tasks in a single PR (in fact, that's not recommended)._** ###...
### Requirements We don't need to import a package to provide enum functionality, we can use them once we're on PHP ^8.1
There are no scenarios we expect this error to occur, but should an invalid flag type be provided to resolve in the client, an error is thrown. Add a unit...
If an error is thrown while generating the OpenFeatureClient, we return a No-op client in its stead. Add a unit test to validate this scenario.
### Requirements Implement tracking as per spec: https://github.com/open-feature/spec/commit/cd99c3560a68c1810971be19b87ea803fb9b0b3a Functional requirements: - implement all the features described [here](https://github.com/open-feature/spec/commit/cd99c3560a68c1810971be19b87ea803fb9b0b3a) Non functional requirements: - use as many existing abstractions and implementations as possible...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [open-feature/flagd-provider](https://redirect.github.com/open-feature-php/flagd-provider) | `^0.7.0` -> `^1.0.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [vimeo/psalm](https://redirect.github.com/vimeo/psalm) | `~5.26.0` -> `~6.13.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release...
## This PR - just some minor tweaks on top of the latest spec branch I could see ### Related Issues NA ### Notes ### Follow-up Tasks ### How to...