w3lifer / yii2-doc-bookmarks
1.0.0
2020-11-25 08:19 UTC
Requires
This package is auto-updated.
Last update: 2024-10-26 18:12:11 UTC
README
Download
Your can download the latest bookmarks on the following site: https://data.grinvik.com.
Installation
composer require w3lifer/yii2-doc-bookmarks
Usage
- Create
yii2-doc-bookmarks.php
file with the following content:
<?php use w3lifer\yii2\DocBookmarks; $docBookmarks = new DocBookmarks(); file_put_contents( __DIR__ . '/yii2-doc-bookmarks-as-array.php', '<?php' . "\n\n" . var_export($docBookmarks->getAsArray(), true) . ';' ); file_put_contents( __DIR__ . '/yii2-doc-bookmarks-as-netscape-bookmarks.html', $docBookmarks->getAsNetscapeBookmarks() ); echo 'Done!' . "\n";
- Run it from the command line to get two files with bookmarks:
php yii2-doc-bookmarks.php
- Run
vendor/bin/yii2-doc-bookmarks
to getyii2-doc-bookmarks-as-array.php
andyii2-doc-bookmarks-as-netscape-bookmarks.html
in the parent directory of thevendor
directory.