What's New in ReportingCloud in 2023
New Composer package names and a new namespace for the PHP SDK and its Laminas module were the changes of 2023. A PHP application that used the former package changes its composer.json and its use statements, as Upgrading shows.
Changes at a Glance
| Date | Change |
|---|---|
| September 9 | PHP SDK 4.0 as textcontrol/textcontrol-reportingcloud |
| September 9 | Laminas module 4.0 as textcontrol/textcontrol-laminas-reportingcloud |
SDKs
- PHP SDK 4.0 (September 9). The SDK moved to the Composer package
textcontrol/textcontrol-reportingcloudand the namespaceTextControl\ReportingCloud, which replacesTxTextControl\ReportingCloud. It requires PHP 8.1 or later and supports PHP 8.2. Packagist marks the former packagetextcontrol/txtextcontrol-reportingcloudas abandoned. Its releases 4.0.0 to 4.0.6 of July 2022 hold the PHP 8.1 refactoring under the old namespace; see 2022. See Installing an SDK. - Laminas module 4.0 (September 9). The module
textcontrol/textcontrol-laminas-reportingcloudfollowed with the namespaceTextControl\Laminas\ReportingCloudand the same PHP requirement.
Upgrading
- Replace the package. Remove
textcontrol/txtextcontrol-reportingcloudfrom composer.json and requiretextcontrol/textcontrol-reportingcloud. Installing an SDK has the command. - Change the namespace. Replace
TxTextControl\ReportingCloudwithTextControl\ReportingCloudin yourusestatements. A Laminas application uses the module namespaceTextControl\Laminas\ReportingCloud. - Check the PHP version. The SDK requires PHP 8.1 or later.