PHPackages                             in-square/opendxp-linkedin-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. in-square/opendxp-linkedin-bundle

ActiveOpendxp-bundle[Utility &amp; Helpers](/categories/utility)

in-square/opendxp-linkedin-bundle
=================================

LinkedIn posts sync bundle for OpenDXP.

v1.0.0(3mo ago)00GPL-3.0-or-laterPHPPHP ^8.3

Since Mar 30Pushed 3mo agoCompare

[ Source](https://github.com/in-square/opendxp-linkedin-bundle)[ Packagist](https://packagist.org/packages/in-square/opendxp-linkedin-bundle)[ Docs](https://github.com/in-square/opendxp-linkedin-bundle)[ RSS](/packages/in-square-opendxp-linkedin-bundle/feed)WikiDiscussions main Synced 3w ago

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

OpenDXP LinkedIn Bundle
=======================

[](#opendxp-linkedin-bundle)

This bundle synchronizes the latest LinkedIn (Company Page) posts into OpenDXP DataObjects (`LinkedinPost`).

Requirements
------------

[](#requirements)

- PHP 8.3
- Symfony 7.4
- OpenDXP 1.x

Environment Configuration
-------------------------

[](#environment-configuration)

Set the following in `.env` or as real environment variables:

- `LINKEDIN_CLIENT_ID`
- `LINKEDIN_CLIENT_SECRET`
- `LINKEDIN_REDIRECT_URI` (must match your OAuth app settings, e.g. `http://localhost/admin/linkedin/callback`)
- `LINKEDIN_ORGANIZATION_URN` (e.g. `urn:li:organization:XXXX`)
- `LINKEDIN_API_VERSION` (e.g. `202509`)
- Optional: `LINKEDIN_SCOPES` (default `r_organization_social`)

Tokens are stored in `WebsiteSetting` under the key `linkedin_token_{env}`.

Bundle Configuration
--------------------

[](#bundle-configuration)

Example (e.g. `config/packages/in_square_opendxp_linkedin.yaml`):

```
in_square_opendxp_linkedin:
    object_folder: '/LinkedIn'
    assets_folder: '/linkedin'
    items_limit: 3
```

OAuth
-----

[](#oauth)

1. Open `GET /admin/linkedin/connect` and authorize access.
2. LinkedIn redirects to `GET /admin/linkedin/callback` — the token is stored in `WebsiteSetting`.

Sync (cron/command)
-------------------

[](#sync-croncommand)

Command:

```
bin/console app:linkedin:sync-latest --limit=3
```

Cron example (daily at 06:00):

```
0 6 * * * php /path/to/bin/console app:linkedin:sync-latest --limit=3
```

Step-by-Step Installation
-------------------------

[](#step-by-step-installation)

1. Install and register the bundle in the host project:
    - Ensure the bundle is registered in `config/bundles.php` as: `InSquare\OpendxpLinkedinBundle\InSquareOpendxpLinkedinBundle::class => ['all' => true]`
    - Ensure routes are loaded from `config/routes/in_square_opendxp_linkedin.yaml`.
2. Configure environment variables (e.g. in `.env`):
    - `LINKEDIN_CLIENT_ID`
    - `LINKEDIN_CLIENT_SECRET`
    - `LINKEDIN_REDIRECT_URI` (must match your OAuth app settings, e.g. `http://localhost/admin/linkedin/callback`)
    - `LINKEDIN_ORGANIZATION_URN` (e.g. `urn:li:organization:XXXX`)
    - `LINKEDIN_API_VERSION` (e.g. `202509`)
    - Optional: `LINKEDIN_SCOPES` (default `r_organization_social`)
3. Configure bundle settings in `config/packages/in_square_opendxp_linkedin.yaml`:
    - `object_folder` (default `/LinkedIn`)
    - `assets_folder` (default `/linkedin`)
    - `items_limit` (default `3`)
4. Install the bundle (creates the `LinkedinPost` class definition): ```
    bin/console opendxp:bundle:install InSquareOpendxpLinkedinBundle
    ```
5. Clear cache: ```
    bin/console cache:clear
    ```
6. Authorize LinkedIn (admin-only endpoints):
    - Open `GET /admin/linkedin/connect`
    - After successful login, LinkedIn redirects to `GET /admin/linkedin/callback`
7. Run sync manually: ```
    bin/console app:linkedin:sync-latest --limit=3
    ```
8. (Optional) Add cron (daily at 06:00): ```
    0 6 * * * php /path/to/bin/console app:linkedin:sync-latest --limit=3
    ```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance82

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

91d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad729a699b734ec9098b169b396f7c686c5eb920bd04d20b29f346b592f59ee8?d=identicon)[kolarian](/maintainers/kolarian)

---

Top Contributors

[![twin-elements](https://avatars.githubusercontent.com/u/17727266?v=4)](https://github.com/twin-elements "twin-elements (2 commits)")

---

Tags

linkedinopendxpopendxp-pluginopendxp-bundle

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/in-square-opendxp-linkedin-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/in-square-opendxp-linkedin-bundle/health.svg)](https://phpackages.com/packages/in-square-opendxp-linkedin-bundle)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)[lion/bundle

Lion-framework configuration and initialization package

122.3k3](/packages/lion-bundle)

PHPackages © 2026

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