fadoe/symfony-referrer-helper

Referrer helper for symfony request class.

dev-master 2017-09-21 19:31 UTC

README

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