Skip to content

Beta-release

Latest
Compare
Choose a tag to compare
@keriat keriat released this 18 Jul 22:36
· 11 commits to master since this release

Package continue to evolve! 🚀

Major changes

  • “customfields” encoding moved to the config as well
  • Config refactored
  • Connector now store the config inside after the initialization
  • Connector simplified dramatically, become slick and readable
  • All code was heavily tested, linted, formatted
  • Demo added

Highlights

  • All config-related functional fully moved to Config
  • facade now cover three basic functions:
    • to run it (initiate entity) and connect, allowing to avoid any internal class usage outside of the module
    • to make calls directly through the Facade
    • to create an instance of the Connector and use it directly (so-called “expert mode”)
  • Exceptions triggered by the package limited to 2:
    • GuzzleHttp\Exception\ClientException (to assure any debugging can be done
    • Fruitware\WhmcsWrapper\Exception\RuntimeException (main exception handling any fatal errors)

The package follows principles described in “The Pragmatic Programmer” by Andy Hunt.


P.S. It can be considered a beta-release