abenevaut/laravel-linkedin-client

Laravel Http Client Infrastructure

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/abenevaut/laravel-linkedin-client

0.0.1 2025-02-26 23:07 UTC

This package is auto-updated.

Last update: 2025-09-27 00:19:09 UTC


README

Installation

You can install the package via composer:

composer require abenevaut/laravel-linkedin-client

Add Linkedin service to your config/services.php file:

'linkedin' => [
    'baseUrl' => env('LINKEDIN_URL', 'https://api.linkedin.com/v2'),
    'api_key' => env('LINKEDIN_API_KEY'),
    'debug' => env('LINKEDIN_DEBUG', false),
],

Usage

use Abenevaut\Linkedin\Facades\Linkedin;

Linkedin::getClient(): LinkedinClient; // Get the Linkedin client
Linkedin::countGroupMembers(string $groupId): int; // Get the number of members of a group 
Linkedin::countCompanyFollowers(string $companyId): int; // Get the number of followers of a company, like 103381678 (abenevaut.dev)