PHPackages                             oefenweb/cakephp-social-media - 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. oefenweb/cakephp-social-media

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

oefenweb/cakephp-social-media
=============================

A minimalistic SocialMedia Plugin for CakePHP

v3.0.1(8y ago)327.7k3[1 issues](https://github.com/Oefenweb/cakephp-social-media/issues)MITPHPPHP &gt;=7.0.0

Since Dec 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Oefenweb/cakephp-social-media)[ Packagist](https://packagist.org/packages/oefenweb/cakephp-social-media)[ Docs](http://github.com/Oefenweb/cakephp-social-media)[ RSS](/packages/oefenweb-cakephp-social-media/feed)WikiDiscussions master Synced yesterday

READMEChangelog (9)Dependencies (5)Versions (15)Used By (0)

SocialMedia plugin for CakePHP
==============================

[](#socialmedia-plugin-for-cakephp)

[![Build Status](https://camo.githubusercontent.com/62e2218135a137723d3083fa0f7dd2a86bfb97fefaec0de61fbd5eb5cf18158a/68747470733a2f2f7472617669732d63692e6f72672f4f6566656e7765622f63616b657068702d736f6369616c2d6d656469612e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/Oefenweb/cakephp-social-media)[![PHP 7 ready](https://camo.githubusercontent.com/64cf4c633fa09bc628bd558bd1f1158a97546a1703eec2504687c3f89e00d1e7/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f4f6566656e7765622f63616b657068702d736f6369616c2d6d656469612f62616467652e737667)](https://travis-ci.org/Oefenweb/cakephp-social-media)[![Coverage Status](https://camo.githubusercontent.com/64588c504f28837ae1648634980aab0147a04486c7ed53010766139ba2b8b2a8/68747470733a2f2f636f6465636f762e696f2f67682f4f6566656e7765622f63616b657068702d736f6369616c2d6d656469612f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Oefenweb/cakephp-social-media)[![Packagist downloads](https://camo.githubusercontent.com/5e7adbb96de9846bb6eaa3100bd924f34674cba46b8b7a25b32ed7b9cede1aca/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4f6566656e7765622f63616b657068702d736f6369616c2d6d656469612e737667)](https://packagist.org/packages/oefenweb/cakephp-social-media)[![Code Climate](https://camo.githubusercontent.com/e6064612a2e70b08609d0e1c44dfc6bfe17554c0fa38ced93a600d49bc590372/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4f6566656e7765622f63616b657068702d736f6369616c2d6d656469612f6261646765732f6770612e737667)](https://codeclimate.com/github/Oefenweb/cakephp-social-media)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/73cc1d38a1c60d334eeccbc360a7e70febc3897c60994319cce869fe063a1612/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4f6566656e7765622f63616b657068702d736f6369616c2d6d656469612f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Oefenweb/cakephp-social-media/?branch=master)

The SocialMedia plugin provides the tools to generate social media links (Helper) and handle them (Controller).

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

[](#requirements)

- CakePHP 2.9.0 or greater.
- PHP 7.0.0 or greater.

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

[](#installation)

- Clone/Copy the files in this directory into `app/Plugin/SocialMedia`

Configuration
-------------

[](#configuration)

- Ensure the plugin is loaded in `app/Config/bootstrap.php` by calling:

```
CakePlugin::load('SocialMedia');

```

- Ensure to configure the following two lines in `app/Config/bootstrap.php`:

```
Configure::write('SocialMedia.salt', 'your-salt');
Configure::write('SocialMedia.facebookAppId', 'your-facebook-app-id');

```

Usage
-----

[](#usage)

### Facebook share link

[](#facebook-share-link)

```
echo $this->SocialMedia->facebook(
	__('Share on Facebook'), [
		'link' => 'your-url',
		'name' => 'your-name',
		'caption' => 'your-caption',
		'description' => 'your-description',
		'picture' => 'your-picture'
	]
);

```

### Twitter tweet link

[](#twitter-tweet-link)

```
echo $this->SocialMedia->twitter(
	__('Tweet on Twitter'), [
		'url' => 'your-url',
		'via' => 'your-via',
		'text' => 'your-text',
	]
);

```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~115 days

Recently: every ~92 days

Total

14

Last Release

2718d ago

Major Versions

v1.1.5 → v3.0.02018-01-18

v1.1.6 → 2.x-dev2019-01-22

PHP version history (3 changes)v1.0.0PHP &gt;=5.3.10

v1.1.0PHP &gt;=5.4.16

v3.0.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4697819?v=4)[Oefenweb.nl](/maintainers/oefenweb)[@Oefenweb](https://github.com/Oefenweb)

---

Top Contributors

[![tersmitten](https://avatars.githubusercontent.com/u/3392962?v=4)](https://github.com/tersmitten "tersmitten (47 commits)")

---

Tags

cakephpcakephp2cakephp3phppluginsocial-mediasocialmedia-plugincakephpsocial media

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oefenweb-cakephp-social-media/health.svg)

```
[![Health](https://phpackages.com/badges/oefenweb-cakephp-social-media/health.svg)](https://phpackages.com/packages/oefenweb-cakephp-social-media)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

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