PHPackages                             marketo/silverstripe-social-proof - 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. [Image &amp; Media](/categories/media)
4. /
5. marketo/silverstripe-social-proof

AbandonedArchivedSilverstripe-module[Image &amp; Media](/categories/media)

marketo/silverstripe-social-proof
=================================

Social Media tracking

1.1.0(9y ago)21263BSD-3-ClausePHP

Since Feb 22Pushed 7y ago5 watchersCompare

[ Source](https://github.com/Marketo/SilverStripe-Social-Proof)[ Packagist](https://packagist.org/packages/marketo/silverstripe-social-proof)[ RSS](/packages/marketo-silverstripe-social-proof/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (3)Used By (0)

SilverStripe-Social-Proof
=========================

[](#silverstripe-social-proof)

=======

SilverStripe Social Statistics module
=====================================

[](#silverstripe-social-statistics-module)

Maintainer Contact
------------------

[](#maintainer-contact)

Kirk Mayo

&lt;kirk (at) solnet (dot) co (dot) nz&gt;

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

[](#requirements)

- SilverStripe 3.2
- Access to create cron jobs
-
-

Documentation
-------------

[](#documentation)

The module is used query social statistics for different web pages and store the information and provide this information via an API

Setup
-----

[](#setup)

The Twitter service makes use of another SilverStripe module which uses Oauth to use the Twitter API. You will need to consult the the Readme file (../twitter-stripe/README.md) for details on setting up the Oauth details. The module config.yml also contains a setting under SocialProofSetting which is used to lock the urls down to certain domains.

Services
--------

[](#services)

The module queuries various social media services which are managed via config.yml To add another service you will need to create a class with the properties service and statistics as these are used when adding a row to the URLStatistics model. The class will also need to declare a method called processQueue which is used in a cron job, this is enforced by a interface called SocialServiceInterface which should be implemented in any future service classes.

API Endpoints
-------------

[](#api-endpoints)

Curently the following API endpoints exist

```
http://socialproof.stripetheweb.com/api/countsfor?urls=http://[urltobeprocessed]
http://socialproof.stripetheweb.com/api/countsfor/service/facebook?urls=[urltobeprocessed]
http://socialproof.stripetheweb.com/api/countsfor/service/twitter?urls=[urltobeprocessed]
http://socialproof.stripetheweb.com/api/countsfor/service/linkedin?urls=[urltobeprocessed]
http://socialproof.stripetheweb.com/api/countsfor/service/linkedin?urls=[urltobeprocessed]
http://socialproof.stripetheweb.com/api/countsfor/service/google?urls=[urltobeprocessed]

```

Accepting third party AJAX requests
-----------------------------------

[](#accepting-third-party-ajax-requests)

If you want to allow third party javascript requests to query the service (like AJAX) you will need to set the CORS flag in your yml config to true so that the `Access-Control-Allow-Origin` header gets sent back to the requesting browser as per the example below.

Querying the API from a third party can be done with jQuery or AJAX. A simple synchronous javascript example is below where you can just call the function requestInfo with the host and the request.

```
function requestInfo(host, request) {
    var xhr = new XMLHttpRequest();
    xhr.open("GET", host + request, false);
    xhr.send();

    return xhr.response;
}

// call with the following
// var result = requestInfo('http://192.168.0.1/', 'geoip/50.206.151.39.json');
```

```
SocialAPI:
  allow_cors: true

```

You can also add an IP whitelist for the domains that you want to be processed by using:

```
SocialAPI:
  allowed_domains:
    - blog4.marketo.com

```

If you want to map development domains to production domains, you can use the following:

```
 domain_mapping:
   localdomain.dev: blog4.marketo.com

```

Domains can also use wildcards for matching subdomains:

```
  allowed_domains:
    - *.marketo.com
  allowed_domains:
    - *domain.dev: blog4.marketo.com

```

Composer Installation
---------------------

[](#composer-installation)

composer require solnet/socialproof

TODO
----

[](#todo)

Testing

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~406 days

Total

2

Last Release

3375d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/681036?v=4)[Brandon Marshall](/maintainers/Brandon32)[@Brandon32](https://github.com/Brandon32)

![](https://avatars.githubusercontent.com/u/22066381?v=4)[Marketing Dev](/maintainers/marketingdev)[@MarketingDev](https://github.com/MarketingDev)

![](https://avatars.githubusercontent.com/u/17607967?v=4)[Jason Slavin](/maintainers/JasonHowellSlavin)[@JasonHowellSlavin](https://github.com/JasonHowellSlavin)

---

Top Contributors

[![textagroup](https://avatars.githubusercontent.com/u/1495580?v=4)](https://github.com/textagroup "textagroup (2 commits)")[![jamss](https://avatars.githubusercontent.com/u/12092851?v=4)](https://github.com/jamss "jamss (1 commits)")[![nathanbrauer](https://avatars.githubusercontent.com/u/323945?v=4)](https://github.com/nathanbrauer "nathanbrauer (1 commits)")

---

Tags

silverstripetrackingmediasocialanalytics

### Embed Badge

![Health badge](/badges/marketo-silverstripe-social-proof/health.svg)

```
[![Health](https://phpackages.com/badges/marketo-silverstripe-social-proof/health.svg)](https://phpackages.com/packages/marketo-silverstripe-social-proof)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[yiimaker/yii2-social-share

Extension for sharing on social networks

48112.8k4](/packages/yiimaker-yii2-social-share)[ndigitals/wp-local-media-proxy

Proxy images on a local development WordPress site from a remote server.

1347.2k](/packages/ndigitals-wp-local-media-proxy)[colymba/gridfield-gallery-theme

SilverStripe 3 GridField component adding file or image thumbnail gallery view

157.2k1](/packages/colymba-gridfield-gallery-theme)

PHPackages © 2026

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