PHPackages                             laralabs/here-api-oauth2-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. laralabs/here-api-oauth2-client

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

laralabs/here-api-oauth2-client
===============================

Easily get an OAuth 2.0 access token to use with the HERE API services

3.0.2(1y ago)6703↓50%1MITPHPPHP ^8.1CI passing

Since Mar 16Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Laralabs/here-api-oauth2-client)[ Packagist](https://packagist.org/packages/laralabs/here-api-oauth2-client)[ RSS](/packages/laralabs-here-api-oauth2-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (13)Used By (0)

 [![](https://camo.githubusercontent.com/75acec9dbd0b40ca11845ae3772c06465e03a4e7a985575dc9da2ed1f658615a/68747470733a2f2f6173736574732e6c6172616c6162732e756b2f7061636b616765732f686572652d6f61757468322d636c69656e742f686572655f636c69656e745f6c6f676f2e706e67)](https://camo.githubusercontent.com/75acec9dbd0b40ca11845ae3772c06465e03a4e7a985575dc9da2ed1f658615a/68747470733a2f2f6173736574732e6c6172616c6162732e756b2f7061636b616765732f686572652d6f61757468322d636c69656e742f686572655f636c69656e745f6c6f676f2e706e67)

[![Stable Build](https://camo.githubusercontent.com/6d6fdcdfeb92e09c20f1a0b04e10da2c6e546ec6bee404167a0a9d3fd4ead730/68747470733a2f2f706f7365722e707567782e6f72672f6c6172616c6162732f686572652d6170692d6f61757468322d636c69656e742f76657273696f6e)](https://packagist.org/packages/laralabs/here-api-oauth2-client)[![CI Status](https://github.com/Laralabs/here-api-oauth2-client/actions/workflows/.github-actions.yml/badge.svg)](https://github.com/Laralabs/here-api-oauth2-client/actions)[![](https://camo.githubusercontent.com/6a009229233156d7b7042064e4d5d6fa1c53b3f257b1ac8446144c462c5c1af8/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63346532306239653664396663363665393439632f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/Laralabs/here-api-oauth2-client/maintainability)[![](https://camo.githubusercontent.com/74a49b3394ace8f8c41b824a90b00add02773b5ff1019e5ab0c0af8b74290a73/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63346532306239653664396663363665393439632f746573745f636f766572616765)](https://codeclimate.com/github/Laralabs/here-api-oauth2-client/test_coverage)[![](https://camo.githubusercontent.com/1481cd8b1e3457a9e393b89d2074574791a181146ba8a574a72a31f1244e19e1/68747470733a2f2f636f6465636f762e696f2f67682f4c6172616c6162732f686572652d6170692d6f61757468322d636c69656e742f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d4c5a3353494f3436434e)](https://codecov.io/gh/Laralabs/here-api-oauth2-client)

HERE API OAuth 2.0 Client
-------------------------

[](#here-api-oauth-20-client)

Easily retrieve OAuth 2.0 bearer access token to use with the HERE API services.

🚀 Quick Start
-------------

[](#rocket-quick-start)

Require the package in the `composer.json` of your project.

```
composer require laralabs/here-api-oauth2-client

```

Set the following variables in your `env` file, you can get these from the [HERE Developer Site](http://developer.here.com/). Check in the REST section for OAuth 2.0 Tokens.

```
HERE_OAUTH_ACCESS_ID="your-access-key-id"
HERE_OAUTH_ACCESS_SECRET="your-access-key-secret"

```

Now you can retrieve an access token using either the facade or helper function. The package will return an access token from the cache or request a new one if it has expired.

### Helper function

[](#helper-function)

```
$token = getHereApiToken();
```

### Facade

[](#facade)

```
use Laralabs\HereOAuth\Facade\HereOAuth;

$token = HereOAuth::getToken();
```

👏 Credits
---------

[](#clap-credits)

Special thanks to [Roberto](https://github.com/roberto-butti/) for his assistance in getting the signing working correctly, go check out his repositories if you're looking for a pure PHP library 👍

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance44

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~301 days

Recently: every ~399 days

Total

7

Last Release

441d ago

Major Versions

1.0.1 → 2.0.02020-10-11

2.0.1 → 3.0.02023-05-01

PHP version history (4 changes)1.0.0PHP &gt;=7.1

2.0.0PHP ^7.3

2.0.1PHP ^7.3|^8.0

3.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e435b69bacc2a02dba78ac929b92950a7b29d496c4164c84cb4b3cdac7d39c82?d=identicon)[Laralabs](/maintainers/Laralabs)

---

Top Contributors

[![clnt](https://avatars.githubusercontent.com/u/19330442?v=4)](https://github.com/clnt "clnt (29 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laralabs-here-api-oauth2-client/health.svg)

```
[![Health](https://phpackages.com/badges/laralabs-here-api-oauth2-client/health.svg)](https://phpackages.com/packages/laralabs-here-api-oauth2-client)
```

###  Alternatives

[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[rahul900day/laravel-captcha

Different types of Captcha implementation for Laravel Application.

10715.9k](/packages/rahul900day-laravel-captcha)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[pitchanon/facebook-connect

A Laravel package for connecting to the Meta (Facebook) Graph API.

254.3k1](/packages/pitchanon-facebook-connect)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
