Repository navigation
Release Notes: 3.0.0
Release Notes: 3.0.0 (Namespace migration, tests & tooling)
Summary
Major release that migrates the library to the DejwCake\SmsClient namespace, updates tests to PHPUnit 12 with pcov coverage, and refreshes project tooling and docs.
Breaking Changes
- Legacy namespace
Matthewbdaly\SMSremoved. - All imports must use
DejwCake\SmsClient.
Changes
- Composer: PSR-4 updated to
DejwCake\SmsClient\; tests mapped toDejwCake\SmsClient\Tests\. - Source: namespaces updated across Client, Contracts, Drivers (Aws, Clockwork, Log, Mail, Nexmo, NullDriver, O2SK, RequestBin, TextLocal, Twilio), and Exceptions.
- Tests: migrated namespaces; added endpoint override tests for Clockwork, RequestBin, TextLocal, Nexmo, Twilio, O2SK.
- Coverage: PHPUnit 12-compatible setup using
pcov(Ubuntu 24.04). - PHPCS:
rootNamespacesaligned to new namespaces. - README: added fork note and namespace change section.
Upgrade Guide
- Update imports to the new namespace:
Matthewbdaly\SMS\...→DejwCake\SmsClient\....
- Refresh autoload:
docker compose run --rm cli composer dump-autoload
- (Optional) Enable coverage with pcov:
docker compose run --rm test ./vendor/bin/phpunit \ -d pcov.enabled=1
Verification
# Run unit tests
docker compose run --rm test ./vendor/bin/phpunit --configuration=/var/www/html/phpunit.xml.dist