LaravelPackages.net
Acme Inc.
Toggle sidebar
w3lifer/laravel-doc-bookmarks

30
0
1.0.0
About w3lifer/laravel-doc-bookmarks

w3lifer/laravel-doc-bookmarks is a Laravel package. It currently has 0 GitHub stars and 30 downloads on Packagist (latest version 1.0.0). Install it with composer require w3lifer/laravel-doc-bookmarks. Discover more Laravel packages by w3lifer or browse all Laravel packages to compare alternatives.

Last updated

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.

Star History Chart