Description
Hey guys, nice to see community work being done on this library :)
Here is some feedback and questions. For the ones that we find needs more discussion, we'll create separate issues.
- Please provide what the goal of this fork is.
For instance, this seems to be a continuation of billogram#16 and an effort to bring the lib up to par with modern php standards. It seem to cater to more experienced php developers. Is there some other purpose of this fork that is good to state in the readme?
-
Please provide examples of how to use the new features of this version vs the upstream version, for instance to log, profile or debug the HTTP requests sent using this library. Linking to upstream docs in the README would do fine.
-
Is there any particular reason to use final and private keywords in this lib? For application-specific code it'd be justified, but since this is a library, you'll expect users to want to extend (in the general sense) your code in ways which you would never foresee without necessarily having to fork the lib.
One example would be if I want to extend the Api\Item class, then I'd also like to extend the BillogramClient class to return my extended class in the items() method. This is not possible with final+private keywords found in that class.
-
The typo "costumer" instead of "customer" appears here and there in the code.
-
The README is out of date in both how to install the package, how to create the api client and set auth credentials (api key or api password for instance?). Let us now when this is updated so that it is easier to try the new lib :) Thanks