Welcome

Welcome to the Markup library documentation! Markup is a powerful PHP library for building and manipulating HTML elements programmatically with an intuitive, object-oriented API.

What is Markup?

Markup is a modern PHP library that allows you to build HTML structures programmatically, with a fluent and intuitive API. Instead of mixing HTML in string concatenations, you create reusable and maintainable components.

Key benefits:

  • ✨ Fluent and chainable API
  • 🎯 Slot system (like Vue.js or Blade)
  • 🎨 Easy CSS class and HTML attribute management
  • 🔍 Search and manipulation of elements
  • 📦 Zero dependencies

Prerequisites

  • PHP 8.1 or higher
  • Composer

This site uses Just the Docs, a documentation theme for Jekyll.