https://github.com/nexmo-community/php-number-insights
Simple example of using the Nexmo Number Insights API from a PHP application
https://github.com/nexmo-community/php-number-insights
example number-insight php slim telephone vonage
Last synced: 11 months ago
JSON representation
Simple example of using the Nexmo Number Insights API from a PHP application
- Host: GitHub
- URL: https://github.com/nexmo-community/php-number-insights
- Owner: nexmo-community
- Created: 2019-03-26T10:40:39.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T22:50:39.000Z (about 3 years ago)
- Last Synced: 2025-07-15T07:40:03.911Z (11 months ago)
- Topics: example, number-insight, php, slim, telephone, vonage
- Language: PHP
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 9
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Use Vonage Number Insights with PHP
This is a very simple demo app showing the [Number Insights API](https://developer.nexmo.com/number-insight/overview) in action.
## Getting Started
First: install dependencies `composer install`
Then: in your Terminal run: `ngrok http 8080`
Then: copy `config.php.sample` to `config.php`. Edit the variables to be your Vonage API key, Vonage API secret, and your Ngrok forwarding URL found in the output form the above command. Your Vonage API key and secret is available from the [dashboard](http://dashboard.nexmo.com), where you can also sign up there too if you don't have an account).
Finally: change into the `public/` directory and start the webserver with `php -S localhost:8080`