https://github.com/nexmo/vonage-php-nexmo-bridge
Polyfill for letting Nexmo namespaced code run under the Vonage PHP SDK
https://github.com/nexmo/vonage-php-nexmo-bridge
Last synced: 8 months ago
JSON representation
Polyfill for letting Nexmo namespaced code run under the Vonage PHP SDK
- Host: GitHub
- URL: https://github.com/nexmo/vonage-php-nexmo-bridge
- Owner: Nexmo
- License: bsd-3-clause
- Created: 2020-08-25T01:22:00.000Z (almost 6 years ago)
- Default Branch: 0.x
- Last Pushed: 2023-02-14T16:13:10.000Z (over 3 years ago)
- Last Synced: 2025-06-03T17:49:23.606Z (about 1 year ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 52
- Watchers: 13
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Vonage Nexmo Bridge
===================
[](https://github.com/nexmo/vonage-php-nexmo-bridge/actions?query=workflow%3Abuild)
[](./LICENSE)
[](https://codecov.io/gh/nexmo/vonage-php-nexmo-bridge)

This library provides a custom autoloader that aliases legacy Nexmo classes, traits, and interfaces
to their replacements under the Vonage namespace.
This library is handy if you want to switch over to the newer `vonage/client` or `vonage/client-core` libraries but have
a lot of older code that utilizes the `\Nexmo` namespace. If you are starting a project from scratch, we recommend immediately
using the `\Vonage` namespace.
Much of this code has been ported from the [`laminas/laminas-zendframework-bridge`](https://github.com/laminas/laminas-zendframework-bridge) project.
## Installation
Run the following to install this library:
```bash
$ composer require vonage/nexmo-bridge
```
## Usage
There is none! By including this package, the autoloader will be automatically invoked and will do all the work
for you.
## Contributing
This library is actively developed and we love to hear from you! Please feel free to [create an issue][issues] or [open a pull request][pulls] with your questions, comments, suggestions and feedback.
[issues]: https://github.com/Nexmo/vonage-php-nexmo-bridge/issues
[pulls]: https://github.com/Nexmo/vonage-php-nexmo-bridge/pulls