Skip to content

Commit a28cd92

Browse files
BenFradetbenjben
authored andcommitted
Move the PHP codebase to its own repository (closes #195)
1 parent 0080c85 commit a28cd92

24 files changed

+1
-8648
lines changed

README.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -209,25 +209,7 @@ For more information, please see the .NET [README][dotnet-readme].
209209

210210
## Usage: PHP
211211

212-
The PHP version of this library uses the updated API, and identifies search, social, webmail, internal and unknown referers:
213-
214-
```php
215-
use Snowplow\RefererParser\Parser;
216-
217-
$parser = new Parser();
218-
$referer = $parser->parse(
219-
'http://www.google.com/search?q=gateway+oracle+cards+denise+linn&hl=en&client=safari',
220-
'http://www.psychicbazaar.com/shop'
221-
);
222-
223-
if ($referer->isKnown()) {
224-
echo $referer->getMedium(); // "Search"
225-
echo $referer->getSource(); // "Google"
226-
echo $referer->getSearchTerm(); // "gateway oracle cards denise linn"
227-
}
228-
```
229-
230-
For more information, please see the PHP [README][php-readme].
212+
Check out the dedicated repository: https://github.com/snowplow-referer-parser/php-referer-parser
231213

232214
## Usage: Go
233215

php/MIT-LICENSE.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

php/README.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

php/build.xml

Lines changed: 0 additions & 23 deletions
This file was deleted.

php/build/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)