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

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

UI Awesome

Html Core Component


PHPUnit Mutation Testing PHPStan Security

Composable, immutable PHP primitives for building UI components: alerts, breadcrumbs, dropdowns, navbars, toggles, and menu items.
Accessible by default, fluent API, framework-friendly data hooks, and rendering powered by html-core.

Features

Installation

Quick start

This package ships both abstract base classes (for subclassing) and ready-to-use concrete classes (Alert, Breadcrumb, Dropdown, NavBar, Toggle, Item, Menu). The concrete classes can be used directly via ::tag() without any subclassing.

The exposed abstractions are:

Custom breadcrumb

Custom dropdown

Custom navbar with toggle

Menu with wrapped labels

Each item label can be wrapped in its own element (for styling or truncation) via labelTag/labelClass. Without labelTag, the label renders as plain text.

Application-scoped styling

Framework styling is supplied by a ThemeInterface implementation resolved through Config and applied with BaseTag::config(). The theme reads the ComponentContext to pick the recipe, so variants (danger, info, warning, ...) travel with the context instead of being hard-coded on the component.

config() applies recipes immediately. Call it before fluent setters that must remain local overrides.

For per-instance defaults that do not belong to a theme, pass them to the factory:

[!NOTE] The Bootstrap5 and Flowbite cookbooks were removed in 0.3.0. Flowbite is discontinued, and the Bootstrap 5 presets are being republished as standalone theme packages. See the Upgrade Guide for the migration.

Documentation

For detailed testing, migration, 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-core-component with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
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
ui-awesome/html-svg 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-component contains the following files

Loading the files please wait ...