Download the PHP package ui-awesome/html-core without Composer

On this page you can find all versions of the php package ui-awesome/html-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package html-core

UI Awesome

Html Core


PHPUnit Mutation Testing PHPStan

A type-safe PHP library for standards-compliant HTML tag rendering
Build and render block, inline, input, and void elements with immutable fluent APIs.

## Features ### Installation ### Quick start #### Rendering HTML tags with enums Renders begin/end tags and full elements using standards-compliant tag enums. #### Rendering a full element (with optional content encoding) #### Rendering void elements with structured attributes Void tags render without closing tags. Complex attributes (like `class` arrays and `data` arrays) are rendered via the installed `ui-awesome/html-helper` dependency. #### Input elements with prefix/suffix templates Input elements render the input tag with optional prefix and suffix segments through the same template primitives used by inline elements. #### Building custom elements with immutable fluent APIs Create your own element classes by extending the provided base elements. #### Nested rendering with `begin()` / `end()` `BaseBlock` supports stack-based begin/end rendering, with protection against mismatched tags. #### Inline elements with prefix/suffix and templates Inline elements can render prefix and suffix segments, optionally wrapped in their own tags. #### Defaults and theming via providers You can apply configuration through global defaults, per-instance defaults, and optional default/theme providers. #### Class-level defaults with `loadDefault()` For a simpler approach without separate provider classes, override `loadDefault()` in your tag class. These defaults are applied automatically when `tag()` is called. Configuration priority (from weakest to strongest): 1. Global defaults via `SimpleFactory::setDefaults()` 2. Class defaults from `loadDefault()` 3. User defaults passed to `tag()` #### Extensibility This library is agnostic and designed to be extended. You can define your own tag collections (for example, for SVG, MathML, or Web Components) with custom string-backed enums. - `Html::element()` handles generic open/content/close rendering. - `Html::inline()` handles inline rendering. - `Html::void()` handles void rendering. You can create a custom enum for your specific domain and use it with `html-core`. ## Documentation For detailed configuration options and advanced usage. - [Testing Guide](docs/testing.md) - [Upgrade Guide](UPGRADE.md) ## Package information [![PHP](https://img.shields.io/badge/%3E%3D8.3-777BB4.svg?style=for-the-badge&logo=php&logoColor=white)](https://www.php.net/releases/8.3/en.php) [![Latest Stable Version](https://img.shields.io/packagist/v/ui-awesome/html-core.svg?style=for-the-badge&logo=packagist&logoColor=white&label=Stable)](https://packagist.org/packages/ui-awesome/html-core) [![Total Downloads](https://img.shields.io/packagist/dt/ui-awesome/html-core.svg?style=for-the-badge&logo=composer&logoColor=white&label=Downloads)](https://packagist.org/packages/ui-awesome/html-core) ## Quality code [![Codecov](https://img.shields.io/codecov/c/github/ui-awesome/html-core.svg?style=for-the-badge&logo=codecov&logoColor=white&label=Coverage)](https://codecov.io/github/ui-awesome/html-core) [![PHPStan Level Max](https://img.shields.io/badge/PHPStan-Level%20Max-4F5D95.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/ui-awesome/html-core/actions/workflows/static.yml) [![Super-Linter](https://img.shields.io/github/actions/workflow/status/ui-awesome/html-core/linter.yml?style=for-the-badge&label=Super-Linter&logo=github)](https://github.com/ui-awesome/html-core/actions/workflows/linter.yml) [![StyleCI](https://img.shields.io/badge/StyleCI-Passed-44CC11.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.styleci.io/repos/779611775?branch=main) ## Our social networks [![Follow on X](https://img.shields.io/badge/-Follow%20on%20X-1DA1F2.svg?style=for-the-badge&logo=x&logoColor=white&labelColor=000000)](https://x.com/Terabytesoftw) ## License [![License](https://img.shields.io/badge/License-BSD--3--Clause-brightgreen.svg?style=for-the-badge&logo=opensourceinitiative&logoColor=white&labelColor=555555)](LICENSE)

All versions of html-core with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ui-awesome/html-attribute Version ^0.6
ui-awesome/html-contracts Version ^0.1
ui-awesome/html-helper Version ^0.7
ui-awesome/html-interop Version ^0.4
ui-awesome/html-mixin Version ^0.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ui-awesome/html-core contains the following files

Loading the files please wait ...