shadercloud/linktrackinghistory

Keep a record of all the pages a user has visited in their session

dev-master 2021-05-24 12:04 UTC

This package is auto-updated.

Last update: 2024-09-24 19:10:26 UTC


README

Latest Version on Packagist Total Downloads GitHub Actions

This is a very simple package that allows you to track which pages users have previously been to.

For example if you need to send the user "back 4 pages" you can use this package to do it.

Installation

You can install the package via composer:

composer require shadercloud/linktrackinghistory

Usage

$two_pages_ago = LinkTrackingHistory::linkHistory(2);
echo 'You previously visited: '.$two_pages_ago;

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.