- Join OSM US Slack.
- Join the
#stadia-maps
channel.
Official SDK for PHP is Now Available
Today we are happy to announce the initial release of our PHP SDK. This SDK makes it easier than ever to access geocoding, routing, elevation, and time zone information in PHP.
Improving the Developer Experience
Before today, PHP developers accessed the Stadia Maps APIs using an HTTP library (such as cURL) and some JSON processing code. While our APIs are easy to integrate with using standard HTTP libraries, there are several reasons to use one of our SDKs:
- Less code to maintain—our SDKs handle the API integration for you!
- Discover the API through autocomplete and documentation without leaving your IDE.
- Immediately discover and use new features with a package updates. We're always improving our APIs, and we keep the SDKs in sync.
Our Seventh SDK
We're always speaking with users, so when the need of a PHP SDK came up a few times, we saw an opportunity to make development easier. Thanks to our existing OpenAPI spec and experience packaging for other languages, we published the first release in less than a day!
The PHP SDK is our seventh official SDK, and complements our existing API clients for TypeScript, Python, Kotlin, and Swift. Now, if you're counting carefully, you may have noticed that we only mentioned five. That's because we also have an autocomplete search plugin for MapLibre GL JS, and a mobile turn-by-turn navigation SDK. You can learn more about all of our SDKs at docs.stadiamaps.com.
We Want Your Feedback
Are you a PHP developer? We'd love to hear your thoughts on the new SDK! Let us know how you're using it, and how we can make it better. Your feedback helps us continuously improve the SDKs.
Where to Get It
Do you use Composer?
We've hosted the package on Packagist
for easy installation with composer install
.
And if you'd prefer to just download the files directly,
you can do that too!
Like all of our SDKs, it's completely open-source,
and you can find the code and installation instructions
on GitHub.
Learn More & Next Steps
- Read our SDK documentation for installation instructions and example code.
- Create an account to get an API key. Start building today without a credit card!
- Join our community on Slack or Discord, follow us on Mastodon, Twitter, or LinkedIn, or sign-up for our mailing list!