PHPackages                             joomla/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. [Framework](/categories/framework)
4. /
5. joomla/linkedin

AbandonedArchivedJoomla-package[Framework](/categories/framework)

joomla/linkedin
===============

Joomla Linkedin Package

1.3.0(7y ago)51907GPL-2.0-or-laterPHPPHP ^5.3.10|&gt;=7.0 &lt;7.2CI failing

Since Jun 4Pushed 4y ago20 watchersCompare

[ Source](https://github.com/joomla-framework/linkedin-api)[ Packagist](https://packagist.org/packages/joomla/linkedin)[ Docs](https://github.com/joomla-framework/linkedin-api)[ RSS](/packages/joomla-linkedin/feed)WikiDiscussions 2.0-dev Synced 2d ago

READMEChangelogDependencies (6)Versions (11)Used By (0)

The LinkedIn Package [![Build Status](https://camo.githubusercontent.com/be0ea24f1d1a7015aa1332ea077ebc0f45434ecd7844dd1bc9d325566b763998/68747470733a2f2f7472617669732d63692e6f72672f6a6f6f6d6c612d6672616d65776f726b2f6c696e6b6564696e2d6170692e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/joomla-framework/linkedin-api)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#the-linkedin-package-)

### Deprecated

[](#deprecated)

The `joomla/linkedin` package is deprecated with no further updates planned.

### Using the LinkedIn Package

[](#using-the-linkedin-package)

The LinkedIn package is designed to be a straightforward interface for working with LinkedIn. It is based on the REST API. You can find documentation on the API at .

#### Instantiating Linkedin

[](#instantiating-linkedin)

Instantiating Linkedin is easy:

```
use Joomla\Linkedin\Linkedin;

$linkedin = new Linkedin;
```

This creates a basic Linkedin object that can be used to access resources on linkedin.com, using an active access token.

Generating an access token can be done by instantiating OAuth.

Create a LinkedIn application at  in order to request permissions. Instantiate OAuth, passing the Registry options needed. By default you have to set and send headers manually in your application, but if you want this to be done automatically you can set Registry option 'sendheaders' to true.

```
use Joomla\Linkedin\Linkedin;
use Joomla\Linkedin\OAuth;
use Joomla\Registry\Registry;

$options = new Registry;
$options->set('consumer_key', $consumer_key);
$options->set('consumer_secret', $consumer_secret);
$options->set('callback', $callback_url);
$options->set('sendheaders', true);
$oauth = new OAuth($options);

$linkedin = new Linkedin($oauth);
```

Now you can authenticate and request the user to authorise your application in order to get an access token, but if you already have an access token stored you can set it to the OAuth object and if it's still valid your application will use it.

```
// Set the stored access token.
$oauth->setToken($token);

$access_token = $oauth->authenticate();
```

When calling the authenticate() method, your stored access token will be used only if it's valid, a new one will be created if you don't have an access token or if the stored one is not valid. The method will return a valid access token that's going to be used.

#### Accessing the LinkedIn API's objects

[](#accessing-the-linkedin-apis-objects)

The LinkedIn package covers almost all Resources of the REST API:

- Communications object interacts with Communications resources.
- Companies object interacts with Companies resources.
- Groups object interacts with Groups resources.
- Jobs object interacts with Jobs resources.
- People object interacts with People and Connections resources.
- Stream object interacts with Social Stream resources.

Once a Linkedin object has been created, it is simple to use it to access LinkedIn:

```
$people = $linkedin->people->getConnections();
```

This will retrieve a list of connections for a user who has granted access to his/her account.

#### A More Complete Example

[](#a-more-complete-example)

Below is an example demonstrating more of the Linkedin package.

```
use Joomla\Linkedin\Linkedin;
use Joomla\Linkedin\OAuth;
use Joomla\Registry\Registry;

$app_id = "app_id";
$app_secret = "app_secret";
$my_url = 'http://localhost/linkedin_test.php';

$options = new Registry;
$options->set('consumer_key', $key);
$options->set('consumer_secret', $secret);
$options->set('callback', $my_url);
$options->set('sendheaders', true);

$oauth = new OAuth($options);
$oauth->authenticate();

$linkedin = new Linkedin($oauth);

$people = $linkedin->people;
$response = $people->getProfile();
```

#### More Information

[](#more-information)

The following resources contain more information:

- [Joomla! API Reference](http://api.joomla.org)
- [LinkedIn REST API Reference](http://developer.linkedin.com/rest)

Installation via Composer
-------------------------

[](#installation-via-composer)

Add `"joomla/linkedin": "2.0.*@dev"` to the require block in your composer.json and then run `composer install`.

```
{
	"require": {
		"joomla/linkedin": "2.0.*@dev"
	}
}
```

Alternatively, you can simply run the following from the command line:

```
composer require joomla/linkedin "2.0.*@dev"
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 68.9% 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 ~227 days

Recently: every ~409 days

Total

9

Last Release

2911d ago

PHP version history (2 changes)1.0-alphaPHP &gt;=5.3.10

1.2.0PHP ^5.3.10|&gt;=7.0 &lt;7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/305a2164440014dcef9ac681c139fe5e8a1ce1d7a8c3b3cfb828497729a4c70e?d=identicon)[wilsonge](/maintainers/wilsonge)

![](https://www.gravatar.com/avatar/875ac11cae02f9a855c88ee1db2f654b87cea1211c109c700748dce7d54e594f?d=identicon)[release-joomla](/maintainers/release-joomla)

---

Top Contributors

[![mbabker](https://avatars.githubusercontent.com/u/368545?v=4)](https://github.com/mbabker "mbabker (62 commits)")[![dongilbert](https://avatars.githubusercontent.com/u/718028?v=4)](https://github.com/dongilbert "dongilbert (10 commits)")[![dianaprajescu](https://avatars.githubusercontent.com/u/1551136?v=4)](https://github.com/dianaprajescu "dianaprajescu (5 commits)")[![diananeculai](https://avatars.githubusercontent.com/u/1551136?v=4)](https://github.com/diananeculai "diananeculai (5 commits)")[![wilsonge](https://avatars.githubusercontent.com/u/1986000?v=4)](https://github.com/wilsonge "wilsonge (3 commits)")[![joomla-jenkins](https://avatars.githubusercontent.com/u/929228?v=4)](https://github.com/joomla-jenkins "joomla-jenkins (1 commits)")[![jbanety](https://avatars.githubusercontent.com/u/1055330?v=4)](https://github.com/jbanety "jbanety (1 commits)")[![nibra](https://avatars.githubusercontent.com/u/827605?v=4)](https://github.com/nibra "nibra (1 commits)")[![PhilETaylor](https://avatars.githubusercontent.com/u/400092?v=4)](https://github.com/PhilETaylor "PhilETaylor (1 commits)")[![eddieajau](https://avatars.githubusercontent.com/u/700871?v=4)](https://github.com/eddieajau "eddieajau (1 commits)")

---

Tags

joomlajoomla-frameworklinkedinphpframeworkjoomlalinkedin

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[joomla/github

Joomla Github Package

2863.3k2](/packages/joomla-github)[joomla/oauth2

Joomla OAuth2 Package

10303.1k2](/packages/joomla-oauth2)[joomla/application

Joomla Application Package

23404.8k11](/packages/joomla-application)[joomla/filter

Joomla Filter Package

151.4M8](/packages/joomla-filter)[joomla/http

Joomla HTTP Package

17674.4k12](/packages/joomla-http)[joomla/registry

Joomla Registry Package

16468.6k20](/packages/joomla-registry)

PHPackages © 2026

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