corbado / corbado-webhook-php

This PHP webhooks library can be used in your backend to handle webhook calls from Corbado.
https://www.corbado.com
MIT License
2 stars 0 forks source link

PSR-7 compliant #5

Open xolf opened 1 year ago

xolf commented 1 year ago

It would be pretty useful if this library were be PSR-7 compliant. There are also some interfaces provided as a composer package.

Lines like https://github.com/corbado/corbado-webhook-php/blob/main/src/Webhook.php#L95 are hard to handle with middlewares like they are provided in Laravel.

Maybe there is an integration guide for a frameworks like Laravel for Symfony?

naetraga commented 1 year ago

@xolf we saw your request and will come back to you. we're working on a symfony adaption, but i guess it will not work for Laravel. Please give me some more days for a more detailed reply.