1. Go to this page and download the library: Download letsjump/yii2-anchorjs 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/ */
letsjump / yii2-anchorjs example snippets
<?= \letsjump\AnchorJS\AnchorJS::widget([
'add' => 'h1, h2',
'options' => [
'placement'=>'right',
'icon'=>'',
// ... refer to https://www.bryanbraun.com/anchorjs/#options for any option available
],
]);
return [
'adminEmail' => '[email protected]',
'anchorjs' => [
'placement' => 'left',
'icon' => ''
// ... refer to https://www.bryanbraun.com/anchorjs/#options for any option available
],
];
php composer.phar
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.