Download the PHP package soderlind/vmfa-rules-engine without Composer

On this page you can find all versions of the php package soderlind/vmfa-rules-engine. 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 vmfa-rules-engine

Virtual Media Folders Rules Engine

Try in WordPress Playground

Rule-based automatic folder assignment for media uploads. Add-on plugin for Virtual Media Folders.

https://github.com/user-attachments/assets/8655014d-b963-493d-a93e-ca1fc63e8b1b

Organizing a Photo Library

Description

Turn "Default folder for uploads" into a powerful rule system. Automatically assign media to folders based on:

Features

Requirements

Installation

Recommended: Use the Add-On Manager to install the add-on.

Manual installation:

  1. Download vmfa-rules-engine.zip
  2. Upload via Plugins → Add New → Upload Plugin
  3. Activate via WordPress Admin → Plugins

Plugin updates are handled automatically via GitHub. No need to manually download and install updates.

Usage

  1. Go to Media → Rules Engine in the WordPress admin
  2. Click Add Rule to create your first rule
  3. Configure conditions and select a target folder
  4. Enable the rule and save
  5. New uploads will automatically be assigned to folders based on your rules

Scanning Existing Media

  1. Click Scan Existing Media to preview what changes would be made
  2. Review the preview and select items to process
  3. Click Apply Changes to assign folders

Organizing a Photo Library

The condition type selector groups conditions into General, EXIF, and IPTC / XMP, making it straightforward to build rules around embedded photo metadata.

EXIF conditions

Condition Field Example use
Camera model exif_camera Separate iPhone shots from DSLR shots
Date taken exif_date Archive by year or shoot date
Aperture (f-number) exif_aperture Isolate wide-open portraits (f/1.4 – f/2.8)
Focal length exif_focal_length Group wide-angle vs telephoto shots
ISO sensitivity exif_iso Flag high-ISO / low-light images for review
Shutter speed exif_shutter_speed Find motion-frozen or long-exposure shots
Orientation exif_orientation Separate portrait vs landscape images

Aperture, focal length, ISO, and shutter speed all support comparison operators (>, >=, <, <=, =, Between), so you can create ranges like "ISO between 1600 and 12800". Shutter speed accepts standard photographic fraction notation (1/1000, 1/60) as well as decimal seconds (0.5).

IPTC / XMP conditions

Condition Field Example use
Keywords iptc_keywords Route images tagged product to a product folder
Credit iptc_credit Separate agency photos (Reuters, AFP, Getty)
Caption iptc_caption Match photos with specific caption text
Copyright iptc_copyright Group images by rights holder or year
Title iptc_title Route by object name or headline

All IPTC conditions use case-insensitive partial matching, so "Reuters" matches "Reuters Photography".

Example: organize a news photo workflow

Development

See docs/DEVELOPMENT.md.

License

GPL-2.0-or-later. See LICENSE.

Copyright 2026 Per Soderlind


All versions of vmfa-rules-engine with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
composer/installers Version ^1.0 || ^2.0
yahnis-elsts/plugin-update-checker Version ^5.6
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 soderlind/vmfa-rules-engine contains the following files

Loading the files please wait ...