Fedex REST API project, adapted for php >=7, guzzle>=7
Added ability to switch to product mode out of the box using the familiar construct ->when(). ... ->when($something, fn($class) $class->isProduction())...
My thanks to http://github.com/Sinnbeck for the help.