Helper for Symfony request
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

Referrer helper for Symfony request

Installation

  • add this repository to your composer.json
  • run composer

composer.phar require fadoe/symfony-request-helper

Methods

  • ReferrerHelper::isInternalReferrer checks if a request is from current site
  • ReferrerHelper::getReferrerPath strips the path from referrer