PHPackages                             godpod/linkedin - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. godpod/linkedin

ActiveLibrary[HTTP &amp; Networking](/categories/http)

godpod/linkedin
===============

PHP LinkedIn SDK

v1.0.5(5y ago)18.2kMITPHPPHP &gt;=5.3.0

Since Nov 17Pushed 5y ago2 watchersCompare

[ Source](https://github.com/godpod/linkedin-php)[ Packagist](https://packagist.org/packages/godpod/linkedin)[ Docs](https://github.com/godpod/linkedin-php)[ RSS](/packages/godpod-linkedin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

linkedin-php
============

[](#linkedin-php)

Linkedin PHP SDK based on ashwinks/PHP-Linkedin-SDK

PHP-LinkedIn-SDK
================

[](#php-linkedin-sdk)

A PHP wrapper for the LinkedIn API

Here's a quick way to get started with this wrapper:
----------------------------------------------------

[](#heres-a-quick-way-to-get-started-with-this-wrapper)

Instantiate our class

```
use LinkedIn\LinkedIn;

$li = new LinkedIn(
  array(
    'api_key' => 'yourapikey',
    'api_secret' => 'yourapisecret',
    'callback_url' => 'https://yourdomain.com/redirecthere'
  )
);
```

Get the login URL - this accepts an array of SCOPES

```
$url = $li->getLoginUrl(
  array(
    LinkedIn::SCOPE_BASIC_PROFILE,
    LinkedIn::SCOPE_EMAIL_ADDRESS,
    LinkedIn::SCOPE_NETWORK
  )
);
```

LinkedIn will redirect to 'callback\_url' with an access token as the 'code' parameter. You might want to store the token in your session so the user doesn't have to log in again

```
$token = $li->getAccessToken($_REQUEST['code']);
$token_expires = $li->getAccessTokenExpiration();
```

Make a request to the API

```
$info = $li->get('/people/~:(first-name,last-name,positions)');
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~416 days

Recently: every ~473 days

Total

6

Last Release

2116d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f3f28776867e658ad61a39008c1a04533e7ec6f0bcb1b5d8035f0face5d0f97?d=identicon)[godpod](/maintainers/godpod)

---

Top Contributors

[![godpod](https://avatars.githubusercontent.com/u/74084?v=4)](https://github.com/godpod "godpod (11 commits)")[![ravivarma666](https://avatars.githubusercontent.com/u/9799720?v=4)](https://github.com/ravivarma666 "ravivarma666 (1 commits)")

---

Tags

apisdkrestapi clientlinkedin

### Embed Badge

![Health badge](/badges/godpod-linkedin/health.svg)

```
[![Health](https://phpackages.com/badges/godpod-linkedin/health.svg)](https://phpackages.com/packages/godpod-linkedin)
```

###  Alternatives

[linkedinapi/linkedin

PHP LinkedIn SDK

96357.1k4](/packages/linkedinapi-linkedin)[artesaos/laravel-linkedin

Linkedin API integration for Laravel and Lumen 5

5666.5k](/packages/artesaos-laravel-linkedin)[abantecart/ups-php

UPS PHP SDK based on OAuth

1815.3k](/packages/abantecart-ups-php)

PHPackages © 2026

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