Download the PHP package adamjenkins/moodle-tiny_sheetmusic without Composer

On this page you can find all versions of the php package adamjenkins/moodle-tiny_sheetmusic. 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 moodle-tiny_sheetmusic

tiny_sheetmusic

The sheet-music authoring plugin for Moodle's TinyMCE editor. It adds a toolbar button and an Insert menu item that open the score editor, and writes the resulting score into the HTML field in the suite's stored-content form.

This is one of three plugins in the sheetmusic suite:

Plugin Role
local_sheetmusic The shared engine: document model, serialisers, engraver
filter_sheetmusic Displays scores wherever Moodle renders text
tiny_sheetmusic Authors scores in Moodle's editor (this plugin)

Why a TinyMCE subplugin

A tiny_* subplugin is handed the live context in both of its PHP entry points, so score authoring can be switched on for music courses and activities without being forced on the whole site. An editor_* plugin has no supported way to do that.

Availability is controlled by the capability tiny/sheetmusic:use, allowed for all authenticated users by default — students answer notation exercises with the same editor their teachers set them in. Remove it from a role, or override it in a context, to take the button away there.

Requirements

filter_sheetmusic is not a hard dependency, but without it a score will be stored and never displayed as notation. The plugin checks whether the filter is active in the current context and says so when it is not.

What the dialogue does

The dialogue is this plugin's; the editing surface inside it is local_sheetmusic/editor, the engine's public editing module. That split is deliberate — the modal, the buttons, the author-facing warnings and everything that touches the HTML field live here, and nothing that understands notation does.

Status

Beta. Authoring, editing, import and export work, as do point-and-click and keyboard note entry: the notes tab is the default, and the ABC source remains available on its own tab with a live preview. The preview and saved scores can be played back, with a speed control (playback comes from local_sheetmusic, and a site administrator can turn it off there). MIDI-keyboard input and Braille output are a later phase.

Design documents

Comments in this plugin refer to DESIGN.md, RELATIONS.md and the P0-FINDINGS-* notes by bare name. Those are the sheet music suite's development records and are deliberately not shipped inside the plugin: they cover all three plugins together and change on a different rhythm from the code. RELATIONS.md in particular is the normative contract between the plugins - the stored <pre class="sheetmusic sheetmusic-abc"> format, the engine's public module API, and the editor and filter coupling - and is the document to read before changing either side of a boundary.

They are kept with the suite's development documentation alongside the source repositories rather than in this one.

Licence

GPL v3 or later.


All versions of moodle-tiny_sheetmusic with dependencies

PHP Build Version
Package Version
Requires moodle/moodle Version ^4.5 || ^5.0
moodle/composer-installer Version ^1.0
adamjenkins/moodle-local_sheetmusic Version >=0.1 <1.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 adamjenkins/moodle-tiny_sheetmusic contains the following files

Loading the files please wait ...