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.

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 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.

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.

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.

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.

Escaper

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

LDAP

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

Tooling

Coding Standard

The coding standard ruleset for Laminas components.

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.

Serializer

Serialize and deserialize PHP structures to a variety of representations.

Stdlib

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

Tag

Manipulate and weight taggable items, and create tag clouds.

XML2JSON

Convert XML documents to JSON.