PHPackages                             linkedin-laravel/linkedin-update - 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. linkedin-laravel/linkedin-update

ActiveLibrary[API Development](/categories/api)

linkedin-laravel/linkedin-update
================================

This package allows you to easily share content on Likedin, using the v2 API.

1.0.1(4y ago)012MITPHPPHP &gt;=5.4.0

Since Nov 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/17771777094/linkedin-share-update)[ Packagist](https://packagist.org/packages/linkedin-laravel/linkedin-update)[ RSS](/packages/linkedin-laravel-linkedin-update/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Linkedin Share v2 API Integration for Laravel
=============================================

[](#linkedin-share-v2-api-integration-for-laravel)

This package allows you to share content in Linkedin with the v2 API

Installation on Laravel
-----------------------

[](#installation-on-laravel)

You can install this package via composer:

```
composer require lightit/linkedin-share
```

In Laravel 5.5 the service provider will automatically get registered. In older versions of the Laravel you should add the service provider to the config/app.php file:

```
'providers' => [
    // ...
    Lightit\LinkedinShare\LinkedinShareServiceProvider::class,
];
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Lightit\LinkedinShare\LinkedinShareServiceProvider" --tag="linkedin-share"
```

After publishing the config file, you should declare the following variables in your .env file.

```
LINKEDIN_SHARE_REDIRECT_URI={your_redirect_uri}
LINKEDIN_SHARE_CLIENT_ID={your_client_id}
LINKEDIN_SHARE_CLIENT_SECRET={your_client_secret}
```

Sharing content
---------------

[](#sharing-content)

You will need the user authentication code ($code) to be able to share content in behalf of the user, you will probabily get this code from the fornt-end of your application.

### Sharing text

[](#sharing-text)

```
LinkedinShare::shareNone($code, $text);
```

### Sharing images

[](#sharing-images)

```
LinkedinShare::shareImage($code, $image, $text);
```

### Sharing links

[](#sharing-links)

```
LinkedinShare::shareArticle($code, $url, $text);
```

Sharing content with access\_token
----------------------------------

[](#sharing-content-with-access_token)

If you prefere to share content using the user access\_token, you should include an optional parameter to the share functions. Example:

```
LinkedinShare::shareNone($access_token, $text, 'access_token');
```

Extra functionality
-------------------

[](#extra-functionality)

### Getting access token from authentication code

[](#getting-access-token-from-authentication-code)

```
LinkedinShare::getAccessToken($code)
```

About Lightit
-------------

[](#about-lightit)

[Light-it](https://lightit.io) is a software development company with offices in Uruguay and Paraguay.

[![alt text](https://camo.githubusercontent.com/5770a240bef517a525d7ef91cec21011326d556bd1f7775c277c6fcb5bf4a8af/68747470733a2f2f6c6967687469742e696f2f696d616765732f736f6c6f2d6c6f676f2e706e67)](https://camo.githubusercontent.com/5770a240bef517a525d7ef91cec21011326d556bd1f7775c277c6fcb5bf4a8af/68747470733a2f2f6c6967687469742e696f2f696d616765732f736f6c6f2d6c6f676f2e706e67)

License
-------

[](#license)

This project and the Laravel framework are open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1631d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93b18db8e75c982fffa0f3fce72c84b1cf547332e300bd77f04c72048bd00ca3?d=identicon)[17771777094](/maintainers/17771777094)

---

Top Contributors

[![17771777094](https://avatars.githubusercontent.com/u/31822126?v=4)](https://github.com/17771777094 "17771777094 (2 commits)")

---

Tags

linkedinlinkedin sharelinkedin API v2

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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