Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP sample is broken #32

Open
BafS opened this issue Aug 26, 2024 · 1 comment
Open

PHP sample is broken #32

BafS opened this issue Aug 26, 2024 · 1 comment

Comments

@BafS
Copy link

BafS commented Aug 26, 2024

The PHP sample is totally broken

  • The readme is almost empty and doesn't give much instruction
  • The Chargebee library used is legacy, it doesn't use namespaces
  • We need to manually download chargebee/stripe library (we don't know which version) and move the source files under php/php_src/lib/
  • We don't load the composer autoload.php, yet we don't include Guzzle which is a dependent library
  • The example doesn't work with apache (because of the rewrite), would be great to have it working with the built-in PHP server
  • Of course type-hints, PSR2+ syntax, tests etc. would also be welcome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@BafS and others