Components

Documentation of Components
Components for Enterprise Applications


Basic Essentials

Cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output.

DB

Database abstraction layer, SQL abstraction, result set abstraction, and RowDataGateway and TableDataGateway implementations.

EventManager

Implement events, signal slots, aspects, and observers!

Feed

Consume and generate Atom and RSS feeds, and interact with Pubsubhubbub.

Form

Validate and display simple and complex forms, casting forms to business objects and vice versa.

Hydrator

Serialize objects to arrays, and vice versa.

Log

Robust, composite logger with filtering, formatting, and PSR-3 support.

Router

Flexible routing system for HTTP and console applications.

Session

Object-oriented interface to PHP sessions and storage.

View

Flexible view layer supporting and providing multiple view layers, helpers, and more.

Code Generation

Code

Extensions to the PHP Reflection API, static code scanning, and code generation.

Configuration

Config

Read and write configuration files.

ConfigAggregator

Lightweight library for collecting and merging configuration from different sources.

ConfigAggregator ModuleManager Plugin

Consume zend-mvc modules as configuration providers within zend-config-aggregator.

ConfigAggregator Templated Parameters PostProcessor

PostProcessor extension for laminas/laminas-config-aggregator to allow usage of templated parameters within your configuration.

Dependency Injection

DI

Automated dependency injection and instance manager.

ServiceManager

Factory-Driven Dependency Injection Container

Filtering and Validation

Filter

Programmatically filter and normalize data and files.

InputFilter

Normalize and validate input sets from the web, APIs, the CLI, and more, including files.

Validator

Validation classes for a wide range of domains, and the ability to chain validators to create complex validation criteria.

HTML, CSS and JS

DOM

Query HTML and XML documents using XPath or CSS selectors.

Escaper

Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs.

HTTP and URI

HTTP

HTTP message and header abstractions, and HTTP client implementation. (Not a PSR-7 implementation.)

URI

Object oriented interface to URIs, with facilities for validation.

Internationalization

Internationalization

Provide translations for your application, and filter and validate internationalized values.

Translation Resources

Provides validator and captcha translations for laminas-i18n's Translator.

JSON and XML

JSON

De/Serialize JSON in PHP, including JavaScript expressions.

XML2JSON

Convert XML documents to JSON.

Mail and MIME messages

Mail

Parse, create, store, and send email messages, using a variety of storage and transport protocols.

MIME

Create and parse MIME messages and parts.

Middleware (PSR-7, PSR-15, PSR-17)

Diactoros

PSR-7 HTTP message implementations.

HTTP Request Handler Runner

Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.

Stratigility

PSR-7 middleware foundation for building and dispatching middleware pipelines.

Navigation

Manage trees of pointers to web pages in order to build navigation systems.

Paginator

Paginate collections of data from arbitrary sources.

laminas-db Paginators

Paginate result sets from laminas-db Select statements or TableGateway instances.

Permissions

ACL

Create, manage, and query access control lists.

RBAC

Provide and query Role-Based Access Controls for your application.

SOAP and RPC

SOAP

Create, serve, and access SOAP applications, and parse and generate WSDL.

JSON-RPC Server

JSON-RPC implementation for PHP.

Server

Create Reflection-based RPC servers.

XML-RPC

Fully-featured XML-RPC server and client implementations.

Security

Authentication

Authenticate users via a variety of adapters, and provide the authenticated identity to your application.

Captcha

Generate and validate CAPTCHAs using Figlets, images, ReCaptcha, and more.

ReCaptcha

OOP wrapper for the ReCaptcha web service.

Crypt

Strong cryptography tools and password hashing.

LDAP

Perform LDAP operations, including binding, searching and modifying entries in an LDAP directory.

Tag and Text

Tag

Manipulate and weight taggable items, and create tag clouds.

Text

Create FIGlets and text-based tables.

Tooling

CLI

Command-line interface for Laminas projects.

Component Installer

Composer plugin for injecting modules and configuration providers into application configuration.

Diagnostics

Universal set of diagnostic tests for PHP applications.

Utilities

Barcode

Programmatically create and render barcodes as images or in PDFs.

File

Locate PHP classfiles.

Loader

Autoloading and plugin loading strategies.

Math

Create cryptographically secure pseudo-random numbers, and manage big integers.

Memory

Manage data in an environment with limited memory.

ProgressBar

Create and update progress bars in different environments.

Serializer

Serialize and deserialize PHP structures to a variety of representations.

Stdlib

SPL extensions, array utilities, error handlers, and more.