Download the PHP package muradcade/php-ui without Composer

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

PHP UI

A clean, lightweight, HTML-first UI library for PHP applications.

PHP UI provides reusable UI components using standard HTML, CSS, and vanilla JavaScript.

Features

Installation

Install PHP UI using Composer:

Include the main stylesheet:

Include the main JavaScript file:

The ui.css file loads all PHP UI component styles.

The ui.js file loads all PHP UI JavaScript components.

You only need to include these two files.

Usage

PHP UI uses simple HTML classes, so you can use it with vanilla PHP or any PHP framework.

Example:

The library does not require a PHP rendering API.

You write normal HTML and apply PHP UI classes.


Components

Click a component below to jump directly to its usage example.

Quick Navigation

Category Components
Actions Button
Forms Form
Feedback Empty State
Navigation Pagination
Layout & Content Modal

Actions

Button

Block Button

Disabled Button


Forms

Input

Error State

Help Text


Textarea

Error State


Select


Checkbox

Selected

Disabled


Radio


Switch

Checked


Form


Feedback

Alert


Badge


Toast

The JavaScript is already loaded through ui.js.

Available types:


Spinner

Sizes


Skeleton

Skeleton components are designed to be composed from reusable primitives.


Progress

Success

Danger


Empty State


Navigation

Navbar

The JavaScript is already loaded through ui.js.


Sidebar

The sidebar is intended as a layout component.

The JavaScript is already loaded through ui.js.

The sidebar automatically switches to a mobile layout at smaller screen sizes.


Breadcrumb


Tabs

The JavaScript is already loaded through ui.js.


Dropdown

The JavaScript is already loaded through ui.js.


Accordion

PHP UI uses the native HTML <details> element for accordions.

No JavaScript is required.


Pagination


Layout & Content

Card


Table

Table Variants

Striped

Compact

Bordered

Combining Variants


Tooltip


Modal

The JavaScript is already loaded through ui.js.


JavaScript Components

The following components use JavaScript:

Component JavaScript File
Modal modal.js
Dropdown dropdown.js
Toast toast.js
Tabs tabs.js
Navbar navbar.js
Sidebar sidebar.js

All JavaScript components are loaded automatically through:

You do not need to include the individual JavaScript files.

Include only:

Components that do not require JavaScript:


Accessibility

PHP UI is designed with accessibility in mind.

Components use native HTML elements and standard accessibility attributes where appropriate.

Examples include:

Always provide meaningful labels and accessible content when using the components in your application.


Responsive Design

PHP UI components are designed to work across different screen sizes.

Responsive behavior includes:

For example:


CSS Architecture

PHP UI keeps component styles modular.

The main stylesheet is:

Component styles are separated into individual files:

You only need to include:

The main stylesheet loads the component styles automatically.


JavaScript Architecture

JavaScript is separated by component.

ui.js is the main JavaScript entry point.

It loads all JavaScript components:

Applications only need to include:

This provides a single JavaScript entry point for the entire library.


Framework Support

PHP UI is framework independent.

It can be used with:

The core library does not depend on a specific PHP framework.

Laravel integration is planned as a separate package.


Browser Support

PHP UI uses standard HTML, CSS, and JavaScript APIs.

Modern versions of major browsers are supported.


Development

Clone the repository:

Enter the project directory:

Install Composer dependencies:

The example page is located at:

The example page demonstrates the available PHP UI components.


Project Structure


Contributing

Contributions, bug reports, documentation improvements, and feature requests are welcome.

Before submitting a pull request:

  1. Keep component naming consistent.
  2. Follow the existing ui-* naming convention.
  3. Keep components framework independent.
  4. Consider accessibility.
  5. Test responsive behavior.
  6. Test JavaScript interactions where applicable.
  7. Update the documentation when adding or changing a component.

Please open an issue or submit a pull request.


License

PHP UI is open-source software licensed under the MIT License.

See the LICENSE file for details.


All versions of php-ui with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
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 muradcade/php-ui contains the following files

Loading the files please wait ...