Laminas Documentation

website·Indexed 35 days ago

https://docs.laminas.dev

Searchable website documentation for Laminas from https://docs.laminas.dev.

Tokens
846.1K
Snippets
4.3K
Records
5.6K
Agent score
69%

What's inside Laminas Documentation

  1. Overview of laminas-uri for URI manipulation and validation

    laminas-uri is a utility component used for manipulating and validating Uniform Resource Identifiers (URIs). While it primarily supports other components like laminas-http, it can be used as a standalone utility to handle various URI schemes.
  2. Overview of laminas-i18n internationalization validators

    v2

    The laminas-i18n component provides a set of validators that leverage internationalization capabilities for data validation. These validators are built upon the core laminas-validator component. Available validators include:

    • Alnum
    • Alpha
    • CountryCode
    • DateTime
    • IsFloat
    • IsInt
    • PhoneNumber
    • PostCode
  3. Introduction to laminas-diactoros

    v1
    laminas-diactoros is a PHP package that provides implementations of the PSR-7 HTTP message interfaces. It is designed for server-side applications and provides a common methodology for marshaling requests from the server environment, similar to the functionality found in node's http.Server.
  4. Overview of the laminas-form component

    v2
    laminas-form acts as a bridge between domain models and the view layer. It manages the composition of form elements, integrates with laminas-inputfilter for validation, and uses laminas-hydrator for binding data to and from objects. The component provides specialized elements for security and validation, such as Csrf (to prevent Cross Site Request Forgery) and Captcha.
  5. Overview of laminas-validator

    v3
    laminas-validator provides a set of common validators and a chaining mechanism to apply multiple validators to a single piece of data in a specific order. A validator examines input against requirements and returns a boolean result indicating success or failure.
  6. Overview of the Laminas Db Adapter

    Laminas\Db\Adapter\Adapter is the central object of the laminas-db component. It provides an abstraction layer over PHP extensions (via the Driver subnamespace) and vendor-specific SQL/RDBMS idiosyncrasies (via the Platform abstraction layer), allowing code to be written independently of the targeted database.
  7. Overview of laminas-filter functionality

    v3
    laminas-filter provides a collection of common data filters used to remove unwanted input (e.g., trimming whitespace, removing illegal characters) or perform generalized transformations (e.g., escaping HTML entities). It includes a filter chaining mechanism that allows multiple filters to be applied to a single piece of data in a specific, user-defined order.
  8. Overview of Laminas­I18n capabilities

    v2

    Laminas­I18n is a component providing internationalization tools for PHP applications. It consists of four primary areas:

    1. Translation: A suite supporting major formats, plural translations, and text domains. The Translator is largely dependency-free but requires the intl extension for default locale fallbacks.
    2. Filters: Tools for normalizing and formatting localized data.
    3. Validators: Tools for validating localized data.
    4. View Helpers: Helpers for formatting dates, times, numbers, and currencies, as well as translating messages.
  9. Overview of CallbackCheckAdapter for database authentication

    The Laminas\Authentication\Adapter\DbTable\CallbackCheckAdapter is used when credential verification (e.g., cryptographically secure password hashing) cannot be performed reliably or consistently across different RDBMS servers. It queries a database table for a matching identity and then executes a provided PHP callback to verify the credentials retrieved from the database against the credentials provided by the user.
  10. Overview of Laminas­Log Processors

    Processors in Laminas­Log allow you to automatically provide additional information to logs. They are executed by the logger before an event is passed to the writers. A processor receives the event array and must return a modified event array.
  11. Overview of the Laminas Module Manager

    The Laminas\ModuleManager\ModuleManager is responsible for iterating over a list of module names and triggering a sequence of events for each. It relies on attached event listeners to handle the instantiation of module classes, initialization tasks, and configuration merging.
  12. Overview of Laminas\Feed\Writer

    Laminas\Feed\Writer is a component used for generating feeds that adhere to the Atom 1.0 (RFC 4287) and RSS 2.0 (RSS 2.0.11) specifications. It uses a system of data containers and renderers to ensure that the generated output is valid. Data is set via mutator/setter methods and is translated into a DOMDocument object at render time, allowing for further processing of the DOM before final output.