PHPackages                             reverse/linkedin-php - 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. [API Development](/categories/api)
4. /
5. reverse/linkedin-php

AbandonedArchivedLibrary[API Development](/categories/api)

reverse/linkedin-php
====================

PHP library for LinkedIn

v0.1.0-alpha(7y ago)102.3k2MITPHPPHP &gt;=7.0

Since May 12Pushed 4y ago3 watchersCompare

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

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Deprecation notice
==================

[](#deprecation-notice)

This package is deprecated and will soon be removed.

reverse/linkedin-php
--------------------

[](#reverselinkedin-php)

PHP client for LinkedIn API V2.

### Requirements

[](#requirements)

- php &gt;= 7.0

### Installation

[](#installation)

```
composer require reverse/linkedin-php:"dev-master"
```

### Using LinkedIn API

[](#using-linkedin-api)

To work with LinkedIn API have to init `Client` classes.

```
$client = new Client('appId', 'appSecret', 'returnUrl');
```

### Authentication

[](#authentication)

```
$client = new Client('appId', 'appSecret', 'returnUrl');
if (array_key_exists('code', $_GET)) {
    $client->initToken($_GET['code']);

    $me = new Me($client);
} else {
    $authUrl = $client->getAuthenticationUrl([
        'scope' => [Client::PERMISSION_LITE_PROFILE]
    ]);
    header('Location: '.$authUrl);
    exit;
}
```

### Share

[](#share)

There is possibility to publish a new post or share a post on LinkedIn activities

To share a post:

```
$client = new Client('appId', 'appSecret', 'returnUrl');
if (array_key_exists('code', $_GET)) {
    $client->initToken($_GET['code']);

    $shares = new Shares();
    $shares->setResharedShare('urn:li:share:1232132') // Post's urn:id

    $shares->setOwner('urn:li:person:c7RFYxyz78')

    $shareText = new ShareText();
    $shareText->setTitle('my title');

    $shares->setText($shareText);

    $shareEndpoint = new REverse\LinkedIn\Endpoint\Share($client);
    $shareEndpoint->postShares($shares);
} else {
    $authUrl = $client->getAuthenticationUrl([
        'scope' => [Client::PERMISSION_LITE_PROFILE, Client::PERMISSION_W_MEMBER_SOCIAL]
    ]);
    header('Location: '.$authUrl);
    exit;
}
```

Before to perform this operation, the user declared in `setOwner` must be authenticated in LinkedIn's application.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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

Unknown

Total

1

Last Release

2563d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/136346588a38372531269620341d4fb434bb70d80f7896f7e4123731bc30cdb7?d=identicon)[ddonnini](/maintainers/ddonnini)

---

Top Contributors

[![giovannialbero1992](https://avatars.githubusercontent.com/u/11536977?v=4)](https://github.com/giovannialbero1992 "giovannialbero1992 (9 commits)")[![dborsatto](https://avatars.githubusercontent.com/u/94651?v=4)](https://github.com/dborsatto "dborsatto (1 commits)")

---

Tags

linkedinlinkedin-apilinkedin-api-v2php

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[api-platform/symfony

Symfony API Platform integration

323.2M67](/packages/api-platform-symfony)[api-platform/serializer

API Platform core Serializer

223.4M31](/packages/api-platform-serializer)[fschmtt/keycloak-rest-api-client-php

PHP client to interact with Keycloak's Admin REST API.

4684.7k2](/packages/fschmtt-keycloak-rest-api-client-php)

PHPackages © 2026

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