Download the PHP package fof/bookmarks without Composer

On this page you can find all versions of the php package fof/bookmarks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bookmarks

FriendsOfFlarum Bookmarks

License Latest Stable Version Total Downloads OpenCollective

A Flarum extension that lets users bookmark discussions and posts, and find them again from a single bookmarks page.


What it does

Bookmarks are private to each user, and work rather like subscriptions but without any notifications attached.

Discussions

Posts

The bookmarks page

A single /bookmarks page with a tab for each type. Bookmarked discussions reuse Flarum's own discussion list, so sorting and filtering behave exactly as they do on the index; bookmarked posts are listed newest first, each linked back to the discussion it belongs to.

Deep links work, so /bookmarks?tab=posts opens the posts tab directly.

fof/blog

When fof/blog is installed, article pages get a bookmark control too. Blog articles are discussions, so they appear under the discussions tab alongside everything else.


Requirements

Installation

Updating


Migrating from the ClarkWinkelmann extensions

This extension replaces three packages, and existing bookmarks are preserved when you switch:

Replaced package What it stored
clarkwinkelmann/flarum-ext-bookmarks discussion bookmarks (v1 of the below)
clarkwinkelmann/flarum-ext-discussion-bookmarks discussion bookmarks
clarkwinkelmann/flarum-ext-post-bookmarks post bookmarks

Install as normal:

Composer removes the old packages automatically, because this one replaces them. Enable FoF Bookmarks in the admin panel afterwards.

Both storage locations are kept exactly as they were — discussion_user.bookmarked_at and the post_user_bookmark table — so the migrations detect existing data and leave it untouched. Nothing is copied or moved, and no bookmark is lost.

Two things do not carry over:

If you have custom CSS targeting the old extensions, note that class names have changed.

Uninstalling

Disabling or uninstalling deliberately leaves your bookmark data in place, since discussion_user.bookmarked_at may hold data created by an extension that predates this one.

If you genuinely want the data gone, remove it by hand:

All three statements matter. Flarum records which migrations have run, and because this extension's down handlers intentionally do nothing, those records survive an uninstall. Leaving them behind means a later reinstall considers the migrations already applied and never recreates the table or column, so the extension breaks on enable. Deleting the rows — all of them, whatever the current set happens to be — lets the migrations run again from scratch.

This is destructive and irreversible — take a database backup first.


Settings

Setting Default Description
Show the discussion bookmark control in the sidebar On When off, the control moves to the discussion dropdown menu.
Post bookmark button position Above post (header) Also available below the post with the quick actions, or in the post menu.
Label bookmarked posts Off Shows a label above bookmarked posts. Only applies when the button is not in the header.

Credits

This extension combines and continues two extensions by Clark Winkelmann — flarum-ext-discussion-bookmarks and flarum-ext-post-bookmarks — both of which were released as open source and are no longer maintained. FriendsOfFlarum is grateful for that work, on which this extension is based.


Links

OpenCollective

An extension by FriendsOfFlarum.

License

This extension is licensed under the MIT License. See the LICENSE.md file for details.


All versions of bookmarks with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^2.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fof/bookmarks contains the following files

Loading the files please wait ...