Skip to content

Commit c54ca82

Browse files
committed
Merge pull request #1 from VSEphpbb/initial
Add initial starter files
2 parents 4055cee + e8874ae commit c54ca82

3 files changed

Lines changed: 407 additions & 0 deletions

File tree

composer.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "phpbb/googleanalytics",
3+
"type": "phpbb-extension",
4+
"description": "An extension which adds Google Analytics to your phpBB forum",
5+
"homepage": "https://phpbb.com",
6+
"version": "1.0.0-dev",
7+
"keywords": ["phpbb", "extension", "google", "analytics"],
8+
"license": "GPL-2.0",
9+
"authors": [
10+
{
11+
"name": "Nathan Guse",
12+
"username": "EXreaction",
13+
"email": "nathaniel.guse@gmail.com",
14+
"role": "Extensions Development Team Lead"
15+
},
16+
{
17+
"name": "Michael Cullum",
18+
"homepage": "http://michaelcullum.com",
19+
"email": "michael@phpbb.com",
20+
"role": "Extensions Team Consultant"
21+
},
22+
{
23+
"name": "Marc Alexander",
24+
"username": "Marc",
25+
"email": "admin@m-a-styles.de",
26+
"homepage": "http://www.m-a-styles.de",
27+
"role": "Extensions Team Consultant"
28+
},
29+
{
30+
"name": "Matt Friedman",
31+
"username": "VSE",
32+
"homepage": "http://mattfriedman.me",
33+
"role": "Extensions Development Team"
34+
}
35+
],
36+
"require": {
37+
"php": ">=5.3.3",
38+
"phpbb/phpbb": "3.1.*@dev"
39+
},
40+
"extra": {
41+
"display-name": "Google Analytics",
42+
"version-check": {
43+
"host": "version.phpbb.com",
44+
"directory": "/phpbb-extensions",
45+
"filename": "googleanalytics_versions.json"
46+
}
47+
}
48+
}

event/listener.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
/**
3+
*
4+
* Google Analytics extension for the phpBB Forum Software package.
5+
*
6+
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
7+
* @license GNU General Public License, version 2 (GPL-2.0)
8+
*
9+
*/
10+
11+
namespace phpbb\googleanalytics\event;
12+
13+
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
14+
15+
/**
16+
* Event listener
17+
*/
18+
class listener implements EventSubscriberInterface
19+
{
20+
}

0 commit comments

Comments
 (0)