Files
releases/docs/content/integrations/php-authorization.md
T
Charlie Egan 1e4f120beb [docs] Update integrations, organisations and softwares to have pages (#6158)
This PR makes it possible to browse integrations, organizations and related softwares. Previously, these details were only available as modals on the ecosystem page.

There are also some changes to the policy enforcement on the docs content, the validation rules are much the same but have been updated to reflect that the content is stored in a new place. I have used some generated JSON in Hugo rather than using GitHub api requests to validate the files since it's A) faster, B) I think more simple, and C) easier to get Hugo to process the markdown frontmatter.

Much of the hackery in this PR (Hugo function partials to look up sets of files and get the data from them) is due to the fact that we can't use Hugo's native sections feature. All of our content is nested under docs, this means that all our pages are in the same section so custom lookups have been implemented as function partials instead to work around this.

Signed-off-by: Charlie Egan <charlie@styra.com>
2023-08-17 16:09:33 +01:00

781 B

title, labels, software, tutorials, code, inventors, docs_features, layout
title labels software tutorials code inventors docs_features layout
PHP OPA Library
layer category
network application
php
https://coil.com/p/segra/OPA-for-API-Authorization-with-Slim-PHP/H-7YsQL2m
https://github.com/segrax/opa-php-examples
https://github.com/segrax/openpolicyagent
https://github.com/build-security/opa-symfony-middleware
build.security
rest-api-integration
note
This library provides a PHP wrapper around the OPA REST API. It can update policies and query for decisions. See the [project README](https://github.com/segrax/openpolicyagent) for various examples.
integration-single

These integrations demonstrate using OPA to perform API authorization in PSR-15 and Symfony compliant frameworks.