Using Laravel Valet and ngrok

ngrok

One of the things we do as web developer is testing the call back or web hook of web services of API.
When we develop API of PayPal, Braintree and other payment gateways, we need to check for Webhook.
When we are testing API webhook, is not so good if we change code and then upload to our test server.
May be its much better if we change our code locally and call our web hook that point to our local server.

https://ngrok.com is one of the solutions we can use. I think there are a lot of tools out there but its the tool
that I use for now.

Its so easy to install and use https://ngrok.com

Just download the app and run some code.

You better check the docs https://ngrok.com/docs for more info.

If you are using Laravel Valet then its much easy

Using your terminal navigate to your app and run

valet share

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.