Download the PHP package furbo/museum-plus-for-craft-cms without Composer

On this page you can find all versions of the php package furbo/museum-plus-for-craft-cms. 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 museum-plus-for-craft-cms

MuseumPlus for CraftCMS plugin for Craft CMS 4.x BRANCH craft-queue

Allows to import MuseumsPlus Collection data to Craft CMS and publish data.

Requirements

This plugin requires Craft CMS 4.7 or later and php 8.1 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

    cd /path/to/project
  2. Then tell Composer to load the plugin:

    composer require furbo/museum-plus-for-craft-cms
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for MuseumPlus for CraftCMS.

Overview

MuseumPlus for CraftCMS automatically imports items from one or more collections and makes them available to Craft.

Features

Configuration

Once the plugin is installed, you can configure it in the Craft Control Panel under Settings → MuseumPlus for CraftCMS. You will need to provide:

After saving the settings you will see the list of collections you have access to: choose at least one collection and save the settings. You should also choose the filesystem where the media will be stored: note that the two subfolders Items and Multimedia will be automatically created in the root of the filesystem. You can specify which kind of files to import: the plugin will download the files and store them in the chosen filesystem. In the settings there is a section to define the URI format and template to be used to show collection items in the frontend.

The shell command ./craft museum-plus-for-craft-cms/collection/update-items will import the data from the selected collections. We advise to set up a cron job to run this command regularly.

Usage

In the backend you will see a new section called "Collection" where you can see the imported collections and their items

Frontend example to display the items:

Frontend example to display a list of items filtered by vocabuilary ref:

Frontend example to display a single item:

Other methods available in twig:

Methods available in on a item:

Methods available in on a vocabulary entry:

The getRecords methods gives acces to the underlying record element. Here the methods that can be called on the records (items, people, objectgroups, vocabulary entries, literature, ownerships)

Get the items from objects like people, objectgroups, vocabulary entries, literature, ownerships

Events

The plugin throws a custom event after an item has been updated or created by the plugin.Custom modules can then listen to the event and add some custom functionality.

Add this code to the init() method of your custom module in craft cms.

Roadmap

Brought to you by Furbo GmbH


All versions of museum-plus-for-craft-cms with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.2
craftcms/cms Version ^4.3.4
gemini-api-php/client Version ^1.4
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 furbo/museum-plus-for-craft-cms contains the following files

Loading the files please wait ....