Skip to content

# v1.0.0 - Initial Stable Release (PHP 5.4+)

Choose a tag to compare

@estefanionsantos estefanionsantos released this 20 Apr 00:27

We are excited to announce the first stable release of the Rubricate Element component. This version is specifically architected to provide a fluent and reliable way to generate HTML elements in legacy and modern PHP environments.

Features

  • Fluent Interface: Chainable methods for a more readable and expressive syntax.
  • Void Element Support: Automatic handling of self-closing tags (like <br />, <img />) based on the TagAutoCloseConfigElement configuration.
  • Dynamic Attributes: Robust management of HTML attributes through the AttributeElement integration.
  • Nesting Capabilities: Easily add child elements to build complex HTML structures programmatically.

🛠 Technical Specifications

  • PHP Compatibility: Full support for PHP 5.4, 5.5, 5.6, 7.x, and 8.x.
  • Memory Efficient: Optimized for low memory consumption, ideal for legacy servers.
  • PSR-compliant: Follows standard autoloading and naming conventions.

Installation

Update your composer.json to use the stable version:

{
    "require": {
        "rubricate/element": "^1.0"
    }
}