nexmo/client-core
Abandoned by its maintainers. Deprecated PHP Client for using Vonage's API - please use vonage/client-core
2.9.2
9.1M downloads/mo
#3180 most downloaded on Packagist
Nexmo/nexmo-php
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 3 weeks
Some releases are documented
notes for 16 of 41 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
54 releases · first in 2016
0 releases in the last 12 months
see the full history below
Release timeline
54 releases · May 2016 to Apr 2021Releases
latest 54-
2.9.230 Apr 2021Release notes
Open source →Release notes
Open source →Fixed
- #276 - JWTs with
subshould now generate properly under newer PHP versions
- #276 - JWTs with
-
2.9.126 Apr 2021Release notes
Open source →2.9.1
Fixed
- Vonage#282 - SMS Throttling response is now handled as milliseconds instead of seconds
- Vonage#282 - Fixed regex to not consume API rate limiting error and basically time out PHP scripts
Release notes
Open source →Fixed
- #282 - SMS Throttling response is now handled as milliseconds instead of seconds
- #282 - Fixed regex to not consume API rate limiting error and basically time out PHP scripts
-
2.9.022 Apr 2021Release notes
Open source →Release notes
Open source →Changed
- Nexmo/nexmo-laravel#62 - Landline Toll Free numbers can be searched for
-
2.8.116 Apr 2021Release notes
Open source →2.8.1
Fixed
- Vonage#278 - Fixed issue retrieving Conversations and Users clients where the service locator didn't know what to do
Changed
- Vonage#283 - Moved auth logic to individual handlers, to better prepare for a fix where Containers do not allow Signature and Token auth
Release notes
Open source →Fixed
- #278 - Fixed issue retrieving Conversations and Users clients where the service locator didn't know what to do
Changed
- #283 - Moved auth logic to individual handlers, to better prepare for a fix where Containers do not allow Signature and Token auth
-
2.8.001 Mar 2021Release notes
Open source →Added
- Vonage#272 - Added support for PSR-3 compatible logging solutions and a new debug feature to log requests/responses
- Vonage#274 - Added support for the
detailfield on some new Voice API incoming events (https://developer.nexmo.com/voice/voice-api/webhook-reference#event-webhook) - Vonage#273 - Added new
content-idandentity-idfields to support regional SMS requirements, and a shortcut for enabling DLT on Indian-based SMS
Release notes
Open source →Added
- #272 - Added support for PSR-3 compatible logging solutions and a new debug feature to log requests/responses
- #274 - Added support for the detail field on some new Voice API incoming events (https://developer.nexmo.com/voice/voice-api/webhook-reference#event-webhook)
- #273 - Added new content-id and entity-id fields to support regional SMS requirements, and a shortcut for enabling DLT on Indian-based SMS
-
2.7.121 Jan 2021Release notes
Open source →Changed
- Use the actual Guzzle package version to determine of 6 or 7 is in the project
Release notes
Open source →Changed
- #270 - Use the actual Guzzle package version to determine of 6 or 7 is in the project
-
v2.7.030 Nov 2020 -
v2.6.018 Nov 2020Release notes
Open source →2.6.0
Don't be scared off by this large release! Most of it is under-the-hood syntax cleanup. Thank you to everyone during Hacktoberfest for the cleanup and help with the SDK!
The big addition was we added support for VAPI Language and Style (https://developer.nexmo.com/voice/voice-api/guides/text-to-speech), and fixed a bug when manually setting the Verify code length.
As a reminder, this library has entered maintenance support, so please begin your migration to
vonage/clientorvonage/client-coreas soon as possible.Added
- Added support for Language and Style for NCCO Talk action
Changed
- Dropped support for PHPUnit 7
- Added missing PHPDoc blocks
- Added missing return type hints
- Replaced qualifiers with imports
- Updated and optimized examples
- Applied multiple code optimizations (especially for PHP 7.2+) and simplified some logic
- Updated code styling to match PSR standards
- Re-ordered imports where necessary
- Updated tests to get rid of deprecation messages
- Fixed namespace declarations in tests
- Updated code style to PSR-12
- Updated phpunit.xml.dist
- Added Roave Security Advisories as dev-requirement to prevent usage of packages with known security vulnerabilities
- Replaced estahn/phpunit-json-assertions with martin-helmich/phpunit-json-assert due do compatibility issues with PHPUnit
- Removed test build for PHP 7.1 in .travis.yml
- Added missing punctuation in CONTRIBUTING.md
- Updated contact email address in CODE_OF_CONDUCT.md
Deprecated
- Deprecated use of VoiceName for NCCO Talk action
Fixed
- Fixed namespaces (Zend => Laminas, Nexmo => Vonage)
- Fixed condition in Verify\Request::setCodeLength
- Fixed typos and some wording in README.md
Removed
- Removed
examples/directory as the code snippets repo is much more up-to-date
Release notes
Open source →Added
- #265 - Added support for Language and Style for NCCO Talk action
Changed
- #257 Dropped support for PHPUnit 7
- #257 Added missing PHPDoc blocks
- #257 Added missing return type hints
- #257 Replaced qualifiers with imports
- #257 Updated and optimized examples
- #257 Applied multiple code optimizations (especially for PHP 7.2+) and simplified some logic
- #257 Updated code styling to match PSR standards
- #257 Re-ordered imports where necessary
- #257 Updated tests to get rid of deprecation messages
- #257 Fixed namespace declarations in tests
- #257 Updated code style to PSR-12
- #257 Updated phpunit.xml.dist
- #257 Added Roave Security Advisories as dev-requirement to prevent usage of packages with known security vulnerabilities
- #257 Replaced estahn/phpunit-json-assertions with martin-helmich/phpunit-json-assert due do compatibility issues with PHPUnit
- #257 Removed test build for PHP 7.1 in .travis.yml
- #257 Added missing punctuation in CONTRIBUTING.md
- #257 Updated contact email address in CODE_OF_CONDUCT.md
Deprecated
- #265 - Deprecated use of VoiceName for NCCO Talk action
Fixed
- #257 Fixed namespaces (Zend => Laminas, Nexmo => Vonage)
- #257 Fixed condition in Verify\Request::setCodeLength
- #257 Fixed typos and some wording in README.md
Removed
- Removed
examples/directory as the code snippets repo is much more up-to-date
-
2.5.028 Oct 2020Release notes
Open source →2.5.0
Changed
- Swapped out
ocramius/package-versionsforcomposer/package-versions-deprecatedto work with Composer 2
Release notes
Open source →Changed
- #260 - Swapped out
ocramius/package-versionsforcomposer/package-versions-deprecatedto work with Composer 2
- Swapped out
-
2.4.102 Oct 2020Release notes
Open source →2.4.1
Changed
- Vonage#256 - Added support for PHPUnit 8
Fixed
- Vonage#253, Vonage#254 - Fixed some typos in the README
- Vonage#255 -
\Vonage\Numbers\Client::searchAvailable()now correctly handles filters usingFilterInterface
Release notes
Open source →Changed
- #256 - Added support for PHPUnit 8
Fixed
- #253, #254 - Fixed some typos in the README
- #255 -
\Vonage\Numbers\Client::searchAvailable()now correctly handles filters usingFilterInterface
-
2.4.010 Sep 2020Release notes
Open source →Changed
- #250 - Bumped minimum PHP version to 7.2
- #250 - Now supports Guzzle 7 automatically, and swaps to Guzzle 7 as a dev dependency
-
2.3.310 Sep 2020Release notes
Open source →Fixed
- #252 - Connect action's
eventUrlwas being set as a string, changed to single element array of strings
- #252 - Connect action's
-
2.2.320 Aug 2020Release notes
Open source →Added
- Added country as a search option for Nexmo\Numbers\Client::searchOwned()
-
2.2.213 Aug 2020 -
2.2.130 Jul 2020Release notes
Open source →Added
- Allow Conversations NCCO to set event URL information
- Added missing Notify webhook and new ASR code
Changed
- NCCOs now set let default options
Removed
- Redundant comments in client for sms() and verify() clients
-
2.2.029 Jul 2020Release notes
Open source →This release focuses on deprecation of dead and old code, and preps many internal changes in regards to v3.0.0. Where possible upcoming v3.0.0 changes were backported where backward-compatibility could be maintained.
Added
- New Voice and SMS interfaces, accessible through
$client->voice()and$client->sms(), respectively - Added user deprecation warnings, which can be turned on and off via the
Nexmo\Client"show_deprecations" config option. This can help devs update in preparation in v3.0.0, and will be utilized in the future as things are deprecated. - Many objects now have a
toArray()serialization method, to discourage direct use ofjsonSerialize() - Many objects now support a
fromArray()hydration method - Better incoming webhook support for SMS and Voice events
- NCCO builder for Voice
Changed
- API handling code has been conglomerated in
Nexmo\Client\APIResourceandNexmo\Entity\IterableAPICollection - All APIs ported over to the new API handling layer
- Internal Service Locator
Nexmo\Client\Factory\MapFactoryis now PSR-11 compliant, and can use factories - Most Verify methods in the client now prefer string Request IDs
- Verify now prefers
Nexmo\Verify\Requestfor starting new Verification requests
Deprecated
For a detailed list of things that may impact an application, enable the
show_deprecationsNexmo\Clientoption to see deprecation notices for specific code flows.- Most forms of array access are now deprecated
- Using service layers like
$client->messages($filter)to search has been deprecated in favor of bespoke search methods - Requests/Responses on exceptions and entities are deprecated, and now exist in the service layer or collection
- Most methods that took raw arrays now prefer objects
Nexmo\Verify\Verificationobjects full functionality has been deprecated, and will be used only as a value object for search requests in the futureNexmo\ConversationsandNexmo\Userhave been deprecated and will be removed in the future as the feature is in Beta status and has diverged from this implementationNexmo\Voice\CallandNexmo\Voice\Messagehave been deprecated and will be removed in the future as the TTS API is deprecated- SMS searching has been deprecated and will be removed in a future update
Removed
- No features or classes have been removed in this update, it is functionally compatible with v2.1.0 other than deprecation notices and new features.
Fixed
- No direct bugs have been fixed as this release was designed to be as compatible with v2.1.0 as possible, however:
- #177 should be better handled by a centralized
Nexmo\Client\Exception\ThrottleExceptionand has been implemented in SMS and the Numbers API - #219 is implicitly fixed in
Nexmo\SMS\Client::send()as it now returns a fully hydrated collection object as a response, however this needs to be updated in Laravel itself via an update tonexmo/laravelandlaravel/nexmo-notification-channel - #221 is implicitly fixed in
Nexmo\SMS\Client::send()as it now returns a fully hydrated collection object that is much more up-front it is not a single object - #227 is implicitly fixed in
Nexmo\SMS\Webhook\InboundSMS
- #177 should be better handled by a centralized
Security
- There were no known security vulnerabilities reported
- New Voice and SMS interfaces, accessible through
-
v2.2.0-RC214 Jul 2020 pre-releaseNothing published for this version
-
v2.2.0-RC103 Jul 2020 pre-releaseNothing published for this version
-
2.1.018 Oct 2019Nothing published for this version
-
2.0.019 Sep 2019Nothing published for this version
-
1.8.113 May 2019Nothing published for this version
-
1.8.007 May 2019Nothing published for this version
-
1.7.013 Apr 2019Nothing published for this version
-
1.6.315 Mar 2019Nothing published for this version
-
1.6.207 Feb 2019Nothing published for this version
-
1.6.102 Jan 2019Nothing published for this version
-
1.6.017 Dec 2018Nothing published for this version
-
1.5.214 Nov 2018Nothing published for this version
-
1.5.105 Nov 2018Nothing published for this version
-
1.5.020 Sep 2018Nothing published for this version
-
1.4.003 Jun 2018Nothing published for this version
-
1.3.201 May 2018Nothing published for this version
-
1.3.119 Mar 2018Nothing published for this version
-
1.3.015 Mar 2018Nothing published for this version
-
1.3.0-beta502 Mar 2018 pre-releaseNothing published for this version
-
1.3.0-beta428 Feb 2018 pre-releaseNothing published for this version
-
1.3.0-beta328 Feb 2018 pre-releaseNothing published for this version
-
1.3.0-beta228 Feb 2018 pre-releaseNothing published for this version
-
1.3.0-beta26 Feb 2018 pre-releaseNothing published for this version
-
1.2.107 Jan 2018Nothing published for this version
-
1.2.019 Dec 2017Nothing published for this version
-
1.1.322 Nov 2017Nothing published for this version
-
1.1.212 Nov 2017Nothing published for this version
-
1.1.117 Oct 2017Nothing published for this version
-
1.1.028 Sep 2017Nothing published for this version
-
1.0.029 Aug 2017Nothing published for this version
-
1.0.0-beta404 Apr 2017 pre-releaseNothing published for this version
-
1.0.0-beta314 Sep 2016 pre-releaseNothing published for this version
-
1.0.0-beta201 Jun 2016 pre-releaseNothing published for this version
-
1.0.0-beta125 May 2016 pre-releaseNothing published for this version
-
1.0.0-alpha220 May 2016 pre-releaseNothing published for this version
-
1.0.0-alpha101 May 2016 pre-releaseNothing published for this version
-
0.4.004 Apr 2017Nothing published for this version
-
0.3.014 Sep 2016Nothing published for this version