sabas / oauth1-openstreetmap
Openstreetmap OAuth 1.0 Client Provider for The PHP League OAuth1-Client
Installs: 104
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/sabas/oauth1-openstreetmap
Requires
- php: >=5.4.0
- league/oauth1-client: ~1.2
This package is auto-updated.
Last update: 2025-09-29 02:28:03 UTC
README
This package provides Openstreetmap OAuth 1.0 support for the PHP League's OAuth 1.0 Client.
Installation
To install, use composer:
composer require sabas/oauth1-openstreetmap
Usage
Usage is the same as The League's OAuth client, using sabas\OAuth1\Client\Server\Openstreetmap
as the provider.
$server = new sabas\OAuth1\Client\Server\Openstreetmap(array( 'identifier' => 'your-identifier', 'secret' => 'your-secret', 'callback_uri' => 'http://your-callback-uri/', ));