Looking to hire Laravel developers? Try LaraJobs

laravel-doc-bookmarks maintained by w3lifer

Author
Last update
2020/06/03 03:09 (dev-master)
License
Links
Downloads
30
Tags

Comments
comments powered by Disqus

laravel-doc-bookmarks

Example

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 get laravel-doc-bookmarks-as-array.php and laravel-doc-bookmarks-as-netscape-bookmarks.html in the parent directory of the vendor directory.