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

On this page you can find all versions of the php package ui-awesome/html-field. 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-field

UI Awesome

Html Field


PHPUnit Mutation Testing PHPStan Security

A fluent, immutable PHP library for rendering form fields bound to a form model.
Labels, hints, errors, and controls composed through application-scoped configuration.

Features

Installation

Quick start

Render a field bound to a form model

The field resolves the id, name, and label from the form model and renders a text input by default.

Html output:

Hints and validation errors

Hints link to the input through aria-describedby; property errors render after the control.

Html output:

Replace the control and style the container

Any form control can replace the default input; the form model field config is applied to the replacement.

Html output:

Semantic control factory

Field selects controls through ControlFactory and applies application-scoped recipes to the field, container, control-specific input container and label, control, hint, error, prefix, and suffix contexts. The package does not select a theme: replace $theme with any ThemeInterface implementation, such as Bootstrap5Theme or TailwindTheme.

The default registry supports checkbox, checkbox-list, email, password, radio, radio-list, select, text, and textarea. Registrations are immutable — derive a factory with with() to replace or extend them.

Select and its typed Option objects come from ui-awesome/html: compose the control there and the field passes the resolved model value to Select::value().

CheckboxList, RadioList, and ChoiceItem also come from ui-awesome/html; Field supplies their checked values, name, validation state, label, hint, and errors. See the usage guide for examples, slot contexts, and recipe methods.

Strict field configurations

Form model field configurations are applied through the core config applier in strict mode, once per render, against the control the field finally resolves — so the fluent call order never changes the outcome. An entry naming a method the resolved control does not expose throws ConfigException instead of being skipped, so typos such as maxlenght fail at render time. The model binding runs first and the config last, so entries such as value, id, name, checked, and placeholder act as explicit per-property overrides rather than being silently overwritten. See the upgrade guide for the precedence rules and supported entry shapes.

Documentation

For detailed usage, testing, and quality workflows.

Package information

PHP Latest Stable Version Total Downloads

Project status

Codecov PHPStan Level Max Quality StyleCI

Our social networks

Follow on X

License


All versions of html-field with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ui-awesome/form-model Version ^0.2
ui-awesome/html Version ^0.6
ui-awesome/html-attribute Version ^0.8
ui-awesome/html-contracts Version ^0.2
ui-awesome/html-core Version ^0.8
ui-awesome/html-helper Version ^0.7
ui-awesome/html-interop Version ^0.4
ui-awesome/html-mixin Version ^0.8
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-field contains the following files

Loading the files please wait ...