PHPackages                             soroush/apply-with-linkedin-php - 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. soroush/apply-with-linkedin-php

ActiveLibrary[API Development](/categories/api)

soroush/apply-with-linkedin-php
===============================

A Linkedin wrapper, that generates a CV from users profile that can be send to consultants

450[1 issues](https://github.com/soroushatarod/apply-with-linkedin-php/issues)PHP

Since Jul 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/soroushatarod/apply-with-linkedin-php)[ Packagist](https://packagist.org/packages/soroush/apply-with-linkedin-php)[ RSS](/packages/soroush-apply-with-linkedin-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Apply with linkedin - PHP
=========================

[](#apply-with-linkedin---php)

Linkedin Class which generates a PDF based upon user profile
============================================================

[](#linkedin-class-which-generates-a-pdf-based-upon-user-profile)

Why should I use this library?
------------------------------

[](#why-should-i-use-this-library)

- You dont need to write long api calls. All api calls are handled by the library
- IDE friendly: The library is IDE friendly, you don't need to check linkedin website to view available fields You can view the fields in the Entity folder
- Generates PDF from members profile
- Few line of code. You can create a PDF from members profile, display it in browser
- Saves time!

### The reason why I have use oauth 1 is because you can clear the tokens, and you can enforce user to sign in again!

[](#the-reason-why-i-have-use-oauth-1-is-because-you-can-clear-the-tokens-and-you-can-enforce-user-to-sign-in-again-)

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

[](#installation)

### Composer

[](#composer)

If your using composer add this to your dependencies: `"soroush/apply-with-linkedin-php": "dev-master"`### PHP OAUTH driver

[](#php-oauth-driver)

You would need to install the PHP OAUTH Driver Execute this command on your machine `pecl install oauth`Sample code to download profile as PDF
--------------------------------------

[](#sample-code-to-download-profile-as-pdf)

```
require_once 'vendor/autoload.php';

$consumerKey = '';
$consumerSecret = '';

$linkedin = new \Soroush\Linkedin\Linkedin($consumerKey, $consumerSecret);

if ($linkedin->isLoggedIn()) {
    echo $linkedin->fetch()->downloadPdf();
} else {
    echo $linkedin->getLoginUrl();
}
```

Sample code to get user details
-------------------------------

[](#sample-code-to-get-user-details)

```
require_once 'vendor/autoload.php';

$consumerKey = '';
$consumerSecret = '';

$linkedin = new \Soroush\Linkedin\Linkedin($consumerKey, $consumerSecret);

if ($linkedin->isLoggedIn()) {
    echo $linkedin->fetch()->profile()->getFirstName();
    echo $linkedin->fetch()->profile()->getLastName();
} else {
    echo $linkedin->getLoginUrl();
}
```

### For complete guide visit

[](#for-complete-guide-visit-)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/65a47f75c0a5578175a99db295273675dcd1fc90a4dde38a437512be84f59e1e?d=identicon)[soroushatarod](/maintainers/soroushatarod)

---

Top Contributors

[![soroushatarod](https://avatars.githubusercontent.com/u/2539627?v=4)](https://github.com/soroushatarod "soroushatarod (19 commits)")

### Embed Badge

![Health badge](/badges/soroush-apply-with-linkedin-php/health.svg)

```
[![Health](https://phpackages.com/badges/soroush-apply-with-linkedin-php/health.svg)](https://phpackages.com/packages/soroush-apply-with-linkedin-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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