Table of Contents

Service Name Migration

7.0 Changes

Because of the migration from Zend Framework to Laminas in VuFind 7.0, any service names or factories beginning with the word “Zend” need to be changed to begin with the word “Laminas” instead.

5.0 Changes

In VuFind 5.0, the switch to Zend ServiceManager v3 means that internal service names are now case-sensitive. This requires some changes. This page documents pre-5.0 service names and post-5.0 equivalents to help you update your local code.

Core Services

The way VuFind addresses some core Zend services has changed.

Zend Framework

Zend Translator Plugins

VuFind Services

The names of services defined within VuFind have also changed.

Top-Level Services

Services defined by VuFind within the top-level service manager now use fully qualified class names as service names, with former names set up as aliases for backward compatibility.

Authentication Plugins

We now use fully-qualified class names as primary service names, with the old short, lowercase names as aliases.

Autocomplete Plugins

We now use fully-qualified class names as primary service names, with the old short, lowercase names as aliases.

Channel Providers

We now use fully-qualified class names as primary service names, with the old short, lowercase names as aliases.

Controller Plugins

We now use fully-qualified class names as service names, with aliases for the case-sensitive short name used for invoking the plugins in controller code.

Controllers

VuFind's controller service names now need to match the fully-qualified class names of the controllers while providing aliases that match routes in a case-sensitive fashion. By default, camelCase and lowercase aliases are provided for most controllers by default. Several modules have had to be adjusted; all of the services are listed alphabetically here.

Content Loader Plugins

These service names now match fully qualified class names, with old short names set up as aliases.

Author Notes
Covers
Excerpts
Reviews
Summaries
Tables of Contents

Database Row Gateways

Row gateway service names now match fully qualified class names, with old short names set up as aliases.

Database Table Gateways

Table gateway service names now match fully qualified class names, with old short names set up as aliases.

Hierarchy Plugins

With the exception of the hierarchy driver plugins, which use “virtual” class names pointing to differently-configured instances of the same class, hierarchy-related plugin service names now match fully qualified class names, with old short names set up as aliases.

Drivers
Tree Data Formatters
Tree Data Sources
Tree Renderers

ILS Drivers

ILS driver service names have been changed to match the fully qualified class names of the plugins, with the old short names set up as aliases.

Permission Provider Plugins

Permission provider service names have been changed to match the fully qualified class names of the plugins, with the old short names set up as aliases.

Recommendation Modules

Recommendation module service names have been changed to match the fully qualified class names of the plugins, with the old short names set up as aliases.

Record Drivers

Record drivers now use fully qualified class names as service names, with the previous service names set up as aliases.

Record Tab Plugins

Record tab plugins now use fully qualified class names as service names, with the previous service names set up as aliases.

Related record modules now use fully qualified class names as service names, with the previous service names set up as aliases.

Resolver Drivers

Resolver drivers now use fully qualified class names as service names, with the previous service names set up as aliases.

Search Objects

The options, params and results objects now use fully qualified class names as service names, with the previous service names set up as aliases.

Options
Params
Results

Session Handlers

Session handlers now use fully qualified class names as service names, with the previous service names set up as aliases.

View Helpers

View helpers are now defined using fully qualified class names as service names. Aliases have been adjusted to match the case by which helpers are called in templates.