Great question — answering as the UphillTech team:
SignalWire's PHP libraries rely on Twilio's libraries. Their LAML webhook is compatible with Twilio. Use Composer to get the PHP libraries for SignalWire: composer require signalwire-community/signalwire PHP where receiving the POST request when an SMS comes in should look similar to this: require_once('signalwire/vendor/autoload.php'); // Include the SignalWire lib. $signing_key = 'PF_KJ45jk3jhy....uU3'; // On your SignalWire API page. $validator = new Twilio\Security\RequestValidator($signing_key); $headers = getallheaders(); $signature = $headers['X-Twilio-Signature']; $url = 'https://example.com/handle-incoming-sms'; // Whatever your URL is. // Get rid of POST variables SignalWire...
Full answer by Richard: https://stackoverflow.stackexchange.com/a/78829182 (CC BY-SA 4.0).
Need it done for your business? UphillTech.