PHPackages                             fractaslabs/silverstripe-google-dfp - 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. fractaslabs/silverstripe-google-dfp

ActiveSilverstripe-vendormodule

fractaslabs/silverstripe-google-dfp
===================================

Fast, configurable SilverStripe implementation of Google DoubleClick for Publishers (DFP)

1.0.1(8y ago)213BSD-3-ClausePHP

Since Nov 4Pushed 8y ago2 watchersCompare

[ Source](https://github.com/fractaslabs/silverstripe-google-dfp)[ Packagist](https://packagist.org/packages/fractaslabs/silverstripe-google-dfp)[ Docs](https://github.com/fractaslabs/silverstripe-google-dfp/)[ RSS](/packages/fractaslabs-silverstripe-google-dfp/feed)WikiDiscussions master Synced 2mo ago

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

SilverStripe Google DFP
=======================

[](#silverstripe-google-dfp)

[![Build Status](https://camo.githubusercontent.com/52debd66b2d249cbd823dddcf41af539987071cfa3b2953301fd9fd959064554/68747470733a2f2f7472617669732d63692e6f72672f667261637461736c6162732f73696c7665727374726970652d676f6f676c652d6466702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fractaslabs/silverstripe-google-dfp)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9e40400b7f262cbf8c06cd699add1917bc01068e30d82bf1de19523562fcdf65/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f667261637461736c6162732f73696c7665727374726970652d676f6f676c652d6466702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/fractaslabs/silverstripe-google-dfp/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/d1431d8514178f3fa846d3edfb0825343c09f4f96352e12c8b6bd620480b46be/68747470733a2f2f706f7365722e707567782e6f72672f667261637461736c6162732f73696c7665727374726970652d676f6f676c65616e616c79746963732f762f737461626c65)](https://packagist.org/packages/fractaslabs/silverstripe-googleanalytics)[![Latest Unstable Version](https://camo.githubusercontent.com/0902179d3bb1f005a78491410410154f2644feee42afb864a41e874458e28e47/68747470733a2f2f706f7365722e707567782e6f72672f667261637461736c6162732f73696c7665727374726970652d676f6f676c65616e616c79746963732f762f756e737461626c65)](https://packagist.org/packages/fractaslabs/silverstripe-googleanalytics)[![Total Downloads](https://camo.githubusercontent.com/82a9a7565fcca914d5e5afb03bde647dd59f54cb6fde8589ad90eff5173cea3e/68747470733a2f2f706f7365722e707567782e6f72672f667261637461736c6162732f73696c7665727374726970652d676f6f676c65616e616c79746963732f646f776e6c6f616473)](https://packagist.org/packages/fractaslabs/silverstripe-googleanalytics)[![License](https://camo.githubusercontent.com/80575b57eea5c2e10ebe1ff5cd7690e5d350c6bc0400246144d191030f0c6cab/68747470733a2f2f706f7365722e707567782e6f72672f667261637461736c6162732f73696c7665727374726970652d676f6f676c65616e616c79746963732f6c6963656e7365)](https://packagist.org/packages/fractaslabs/silverstripe-googleanalytics)

Overview
--------

[](#overview)

An customizable SilverStripe module for Google DoubleClick for Publishers (DFP).

Maintainer Contacts
-------------------

[](#maintainer-contacts)

- Milan Jelicanin \[at\] Fractas.com
- Petar Simic \[at\] Fractas.com

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

[](#requirements)

- SilverStripe Framework 4+

Version info
------------

[](#version-info)

The master branch of this module is currently aiming for SilverStripe 4.x compatibility

- [SilverStripe 3.0+ compatible version](https://github.com/fractaslabs/silverstripe-google-dfp/tree/1.0.1)

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

[](#installation)

- Recommended way to install this module is via Composer

```
composer require "fractas/google-dfp" "2.x-dev"

```

- Add to your configuration YML file:

```
---
name: mygoogledfp
---
Fractas\GoogleDfp\GoogleDfpSlotHelper:
 enable_in_dev: false # if you wanna test banners in "dev" environment change to true
 publisher_id: 12345678 # change to your Google DFP network code
   layouts:
     PageController: # change to your Controller ClassName or leave it PageController if you wanna apply banners on SiteTree
       div-gpt-ad-123456789012-0: # An exact banner ID from Google DFP system
         alias: billboard # human readable banner type, used in template for banner init
         adUnitPath: /12345678/ad_unit_code # Full path of the ad unit with the network code and ad unit code.
         size: '[[1], [300, 250]]' # An exact size of banner creative
         outOfPage: false # if banner is "floater" or "wallpaper" type, change to "true"
```

- Run ?flush=all to update manifests
- Call your banner like this $GoogleDfpSlotByAlias('billboard') in your template (eg. Page.ss) to render selected banner HTML

Additional documentation
------------------------

[](#additional-documentation)

- More comprehensive documentation can be [found here](https://github.com/fractaslabs/silverstripe-google-dfp/blob/master/docs/en/index.md)

Bugtracker
----------

[](#bugtracker)

- Bugs are tracked on [github.com](https://github.com/fractaslabs/silverstripe-google-dfp/issues)

Licence
-------

[](#licence)

- See [Licence](https://github.com/fractaslabs/fractaslabs/silverstripe-google-dfp/blob/master/LICENSE)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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 ~1 days

Total

2

Last Release

3109d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14952a0ffb7f5f82eaf00c2994dc2d955fba4e28cbe35d64f8b791005f666d11?d=identicon)[fractaslabs](/maintainers/fractaslabs)

---

Top Contributors

[![hdpero](https://avatars.githubusercontent.com/u/13778690?v=4)](https://github.com/hdpero "hdpero (9 commits)")

---

Tags

adsdfpdoubleclick-for-publisherssilverstripesilverstripe-moduleadssilverstripeDoubleClickDoubleClick for Publishers

### Embed Badge

![Health badge](/badges/fractaslabs-silverstripe-google-dfp/health.svg)

```
[![Health](https://phpackages.com/badges/fractaslabs-silverstripe-google-dfp/health.svg)](https://phpackages.com/packages/fractaslabs-silverstripe-google-dfp)
```

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5163.4M1.3k](/packages/silverstripe-cms)[silverstripe/admin

SilverStripe admin interface

262.6M325](/packages/silverstripe-admin)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38106.0k15](/packages/silverstripe-silverstripe-omnipay)[silverleague/ideannotator

Generate PHP DocBlock annotations for DataObject and DataExtension databasefields and relation methods

4768.0k43](/packages/silverleague-ideannotator)

PHPackages © 2026

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