telstra / messagingapi-sdk-php Goto Github PK
View Code? Open in Web Editor NEWTelstra Messaging SDK - PHP Library
Home Page: https://dev.telstra.com
License: Apache License 2.0
Telstra Messaging SDK - PHP Library
Home Page: https://dev.telstra.com
License: Apache License 2.0
Theres an error happening for composer install due to php-cs-fixer dependancy on older php versions. It returns an error unless you have PHP 7.1 or 7.2 installed
friendsofphp/php-cs-fixer v1.12.0 requires php ^5.3.6 || >=7.0 <7.2 -> your PHP version (7.3.11) does not satisfy that requirement.
The fix (at least it worked for me) is to just allow the latest version to install
"friendsofphp/php-cs-fixer": "~1.12"
needs to become
"friendsofphp/php-cs-fixer": "*"
Calling this returns an array of InboundPollResponses, all blank
Telstra_Messaging\Model\InboundPollResponse (1)
→protected container -> array (6)
to => null
from => null
body => null
received_timestamp => null
more_messages => null
message_id => null
But the JSON content is
{ "status": "RECEIVED", "destinationAddress": "+XXXX", "senderAddress": "+XXXX", "message": "Tests 4", "sentTimestamp": "2018-02-08T16:42:49+10:00" }
Doing a call do getSMSStatus with a valid message id returns a blank class.
$status Telstra_Messaging\Model\OutboundPollResponse (1)
→protected container -> array (4)
to => null
received_timestamp => null
sent_timestamp => null
delivery_status => null
In the MessagingApi class, the api call in the getSMSStatusWithHttpInfo function is returning a JSON array but the ObjectSerializer::deserialize dose not seem to expect it.
[ { "to": "+XXXXXXXXX", "sentTimestamp": "2018-02-08T15:57:53+10:00", "receivedTimestamp": "2018-02-08T15:57:52+10:00", "deliveryStatus": "DELIVRD" } ]
In the composer setup area it has https://github.com/Telstra/Telstra_Messaging.git not https://github.com/telstra/MessagingAPI-SDK-php.git
Is there a release planed? we try not to use "*@dev" requires.
Also is there plans to add this to packagist?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.