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
Requires
- php: ^8.3
- abenevaut/laravel-client-infrastructure: ^0.0.2
- abenevaut/laravel-infrastructure: ^0.4.0
- illuminate/container: ^11.41
Requires (Dev)
- fakerphp/faker: ^1.24
- illuminate/http: ^11
- mockery/mockery: ^1.6
- nikic/php-parser: ^5.0
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5
- squizlabs/php_codesniffer: ^3.11
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)