Components

Documentation of Components
Components for Enterprise Applications


Barcode

Programmatically create and render barcodes as images or in PDFs.

Cache

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

Code

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

DB

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

DOM

Query HTML and XML documents using XPath or CSS selectors.

EventManager

Implement events, signal slots, aspects, and observers!

Feed

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

File

Locate PHP classfiles.

Form

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

Hydrator

Serialize objects to arrays, and vice versa.

Loader

Autoloading and plugin loading strategies.

Log

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

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.

Router

Flexible routing system for HTTP and console applications.

Serializer

Serialize and deserialize PHP structures to a variety of representations.

Session

Object-oriented interface to PHP sessions and storage.

Stdlib

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

Twitter

Consume and exercise the Twitter API.

View

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

Diagnostics

Universal set of diagnostic tests for PHP applications.

CLI

CLI

Command-line interface for Laminas projects.

Config

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.

HTTP and URI

HTTP

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

HTTP Request Handler Runner

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

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

JSON

De/Serialize JSON in PHP, including JavaScript expressions.

XML2JSON

Convert XML documents to JSON.

Learn

Tutorials

Learn how to create zend-mvc applications, get in-depth guides into components, and discover how to migrate your applications to version 3!

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

Diactoros

PSR-7 HTTP message implementations.

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.

Projects

Component Installer

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

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.

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.

Tag and Text

Tag

Manipulate and weight taggable items, and create tag clouds.

Text

Create FIGlets and text-based tables.