w3lifer / laravel-doc-bookmarks
1.0.0
2020-06-03 01:09 UTC
Requires
This package is auto-updated.
Last update: 2024-12-26 18:44:29 UTC
README
Download
Your can download the latest bookmarks on the following site: https://data.grinvik.com.
Installation
composer require w3lifer/laravel-doc-bookmarks
Usage
- Create
laravel-doc-bookmarks.php
file with the following content:
<?php use w3lifer\laravel\DocBookmarks; $docBookmarks = new DocBookmarks([ 'version' => '5.7', // "master" by default ]); file_put_contents( __DIR__ . '/laravel-doc-bookmarks-as-array.php', '<?php' . "\n\n" . var_export($docBookmarks->getAsArray(), true) . ';' ); file_put_contents( __DIR__ . '/laravel-doc-bookmarks-as-netscape-bookmarks.html', $docBookmarks->getAsNetscapeBookmarks() ); echo 'Done!' . "\n";
- Run it from the command line to get two files with bookmarks:
php laravel-doc-bookmarks.php
- Run
vendor/bin/laravel-doc-bookmarks
to getlaravel-doc-bookmarks-as-array.php
andlaravel-doc-bookmarks-as-netscape-bookmarks.html
in the parent directory of thevendor
directory.