PHP code example of adods / page-marker-laravel

1. Go to this page and download the library: Download adods/page-marker-laravel library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

adods / page-marker-laravel example snippets


private $marker;

public function __construct(
    PageMarkerLaravel $marker
) {
    $this->marker = $marker;
}

if ($redir = $this->marker->init()) {
    return $redir;
}