adods/page-marker-laravel

PageMarker library extension for Laravel

1.0 2019-11-29 09:00 UTC

This package is auto-updated.

Last update: 2024-09-29 05:28:53 UTC


README

Extension from adods\page-marker for Laravel

Installation

Via Composer:

composer require adods/page-marker-laravel

or just download the file manually and put in your lib directory

Requirement

Usage Difference

init() now return Illuminate\Http\RedirectResponse when conditions are met.

private $marker;

public function __construct(
    PageMarkerLaravel $marker
) {
    $this->marker = $marker;
}
if ($redir = $this->marker->init()) {
    return $redir;
}