FLUX-SE / PayumStripe

Payum Stripe gateways (with SCA support)
MIT License
28 stars 15 forks source link

[RFC] Adding Sf vardumper caster for Stripe #31

Open Nek- opened 1 year ago

Nek- commented 1 year ago

Hello,

I just saw this article from JoliCode, and I immediately though that it would be a nice feature to add to this bundle. WDYT?

https://jolicode.com/blog/leverage-symfony-vardumper-component-to-enhance-your-dumps

Prometee commented 1 year ago

Hello @Nek-

Thank you for sharing this ! I read it this morning too and think about adding it to the Payum Stripe lib (that's why I moved your issue here 😉).

Nek- commented 1 year ago

To me, it's more a bundle thing (since it's tight to Symfony) but fine.

Prometee commented 1 year ago

I used the var dumper inside a raw project with dependencies with only this Payum Stripe lib. Adding the caster class here will just add a tool to the lib that can be used in a Symfony project or more widely in any type of project that can use the var dumper. Then the bundle will configure it if needed. Here are the steps I propose to follow to add this caster :