1. Go to this page and download the library: Download coreplex/crumbs 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/ */
coreplex / crumbs example snippets
$container = new Coreplex\Crumbs\Container(new Coreplex\Crumbs\Components\Crumb, new Coreplex\Crumbs\Renderers\Basic);
/**
* Make a new controller instance
*
* @param \Coreplex\Crumbs\Contracts\Container $breadcrumbs
* @return void
*/
public function __construct(\Coreplex\Crumbs\Contracts\Container $breadcrumbs)
{
$this->breadcrumbs = $breadcrumbs;
}