PHPackages                             net-shell/linkedin-api - 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. net-shell/linkedin-api

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

net-shell/linkedin-api
======================

LinkedIn API client. Handles OAuth, CSRF protection. Easy to implement and extend..

0.6.0(10y ago)025MITPHPPHP &gt;=5.4

Since Jan 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/net-shell/linkedin-api)[ Packagist](https://packagist.org/packages/net-shell/linkedin-api)[ Docs](http://developer.happyr.com/libraries/linkedin-php-client)[ RSS](/packages/net-shell-linkedin-api/feed)WikiDiscussions master Synced 1mo ago

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

LinkedIn API client in PHP
==========================

[](#linkedin-api-client-in-php)

[![Build Status](https://camo.githubusercontent.com/13db98c43771fba1c417ab01036e03a7026844a04a61930614bdaa1a3d12b491/68747470733a2f2f7472617669732d63692e6f72672f4861707079722f4c696e6b6564496e2d4150492d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Happyr/LinkedIn-API-client)[![Coverage Status](https://camo.githubusercontent.com/bcae6b4cff58c2a4b7a9aededd9d8b1e7f9fe0ff0931885d4c998963606bb3fe/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f4861707079722f4c696e6b6564496e2d4150492d636c69656e742e737667)](https://coveralls.io/r/Happyr/LinkedIn-API-client?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/8ae7e63ed6ee295003793c8c84867f6f032e3325adad070868fdee89575da4e5/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f34346334323561662d393066362d346332352d623738392d3465636532386230316132622f6d696e692e706e67)](https://insight.sensiolabs.com/projects/44c425af-90f6-4c25-b789-4ece28b01a2b)[![Latest Stable Version](https://camo.githubusercontent.com/2f90f838186846f26d4f1565c97cea3e1ab8f351e52f0bbfe7922e04a4d80ce5/68747470733a2f2f706f7365722e707567782e6f72672f6861707079722f6c696e6b6564696e2d6170692d636c69656e742f762f737461626c652e737667)](https://packagist.org/packages/happyr/linkedin-api-client)[![Monthly Downloads](https://camo.githubusercontent.com/aa30a81b84d4c8e2a1123f4234da703cc0d114b87e8b338832d5bcb4a53418dc/68747470733a2f2f706f7365722e707567782e6f72672f6861707079722f6c696e6b6564696e2d6170692d636c69656e742f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/happyr/linkedin-api-client)

A PHP library to handle authentication and communication with LinkedIn API. The library/SDK helps you to get an access token and when authenticated it helps you to send API requests. You will not get *everything* for free though... You have to read the [LinkedIn documentation](https://developer.linkedin.com/core-concepts) to understand how you should query the API.

To get an overview what this library actually is doing for you. Take a look at the authentication page from the [API docs](https://developer.linkedin.com/documents/authentication).

Features
--------

[](#features)

Here is a list of features that might convince you to choose this LinkedIn client over some of our competitors'.

- Flexible and easy to extend
- Developed with modern PHP standards
- Not developed for a specific framework.
- Handles the authentication process
- Respects the CSRF protection
- More than 85% test coverage.
- 800 lines of code, 650 lines of comments.

Installation
------------

[](#installation)

Install it with Composer.

```
composer require net-shell/linkedin-api:dev-master
```

Usage
-----

[](#usage)

In order to use this API client (or any other LinkedIn clients) you have to [register your application](https://www.linkedin.com/secure/developer)with LinkedIn to receive an API key. Once you've registered your LinkedIn app, you will be provided with an *API Key* and *Secret Key*.

### LinkedIn login

[](#linkedin-login)

This example below is showing how to login with LinkedIn.

```
