Laravel Referer

screenshot of Laravel Referer
laravel

Remember a visitor's original referer

Overview:

This product is a PHP package that remembers a visitor's original referrer in session. The referrer is determined based on priority rules such as the utm_source query parameter or the domain from the request's Referer header. The package provides features for capturing, retrieving, forgetting, or manually setting the referrer.

Features:

  • Capture Referrer: Middleware to capture the referrer in web requests.
  • Retrieve Referrer: Easily retrieve the captured referrer from the container or use Laravel's facades.
  • Priority Rules: Referrer is determined based on priority sources like utm_source query parameter or Referer header.

Summary:

This PHP package allows web developers to remember a visitor's original referrer in session by capturing and prioritizing various referrer sources. Users can easily install the package via composer, customize the configuration, and access the referrer information using middleware or facades. It provides a convenient way to enhance the tracking and analytics of visitor referrals on a website.

laravel
Laravel

Laravel is a powerful and elegant PHP framework that provides developers with a comprehensive set of tools and features to build robust web applications. It follows the Model-View-Controller (MVC) architectural pattern, offering a clean and organized structure for writing efficient and maintainable code.