fadoe/symfony-referrer-helper

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Referrer helper for symfony request class.

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

This package is auto-updated.

Last update: 2021-09-12 15:28:32 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