Download the PHP package kirbycode/media-hub-pro without Composer

On this page you can find all versions of the php package kirbycode/media-hub-pro. 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 media-hub-pro

Kirby Media Hub Pro

A centralized media library plugin for Kirby CMS 5 — WordPress-style asset management built directly into the Panel.


Versions

Version Price Key additions
V1 — Pro Free Folders, search, metadata, picker field, usage tracking, stats
V2 — Pro Smart €40 + 2-level subfolders, tags, smart filters, bulk operations, duplicate detection, auto WebP conversion, image compression, upload progress indicator

Features

V1 — Core

V2 — Pro Smart


Requirements


Installation

Via Composer (recommended)

Manual

  1. Purchase a license at kirbycode.com
  2. Download the plugin zip from your account
  3. Extract and copy the media-hub-pro folder into your site's site/plugins/ directory

The plugin auto-creates content/media-hub/ on the first page load — no further setup needed.


Configuration

All options go in your site's config/config.php:

Media Optimization notes (V3)


Blueprint Usage

Add the mediahubpicker field type to any page or file blueprint:

Single image picker

Multi-select gallery

Document / PDF picker

Field options

Option Type Default Description
multiple bool true Allow selecting more than one file
accept string (all) Filter picker to a type: image, document, video, audio
label string Media Hub Files Panel field label
help string — Help text shown below the field

What gets saved

The field writes a standard Kirby YAML list of file:// UUIDs to the content .txt file — the same format as Kirby's built-in files field:


PHP Template Usage

Single file

Multiple files / gallery


Bulk Operations (V2)

Enable Select mode in the toolbar to check multiple files, then choose an action:

Action What it does
Bulk Delete Permanently deletes all selected files
Bulk Move Moves all selected files to a chosen folder
Bulk Rename Renames using a pattern, e.g. photo-{n} → photo-1.jpg, photo-2.jpg
Bulk Tag Add / Remove / Replace tags on all selected files at once

Duplicate Detection (V2)

Open Duplicates from the toolbar to scan the library:

For each group you can: keep the oldest, keep the newest, keep the shortest filename, or manually pick which copy to keep.


Supported File Types

Category Extensions
Images jpg, jpeg, png, gif, webp, svg, avif
Documents pdf, doc, docx, xls, xlsx, ppt, pptx, txt
Video mp4, mov, webm, avi
Audio mp3, wav, ogg, m4a
Archives zip, gz, tar
Design ai, eps, psd

How It Works

The plugin registers a Kirby content page at content/media-hub/ (auto-created on first load). Subfolders are standard Kirby child pages with the media-hub-folder template. Files use Kirby's native flat-file storage with .txt metadata sidecars.

The Panel area is a custom Kirby area with Vue 3 components (no build step — uses Kirby's bundled runtime). REST API routes under /api/media-hub/ handle all operations.


Changelog

See CHANGELOG.md.


License

Proprietary — Shivlal Sheladiya. All rights reserved. A valid license is required. Purchase at kirbycode.com.


Credits

Built with Kirby CMS by kirbycode.com.

If this plugin saves you time, consider sponsoring further development.


All versions of media-hub-pro with dependencies

PHP Build Version
Package Version
Requires getkirby/cms Version ^5.0
getkirby/composer-installer Version ^1.1
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 kirbycode/media-hub-pro contains the following files

Loading the files please wait ...