Download the PHP package elqora/chart without Composer

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

Elqora Chart

Elqora Chart is a framework-neutral PHP package for describing portable chart data. It provides immutable DTOs, backed enums, serialization, hydration, and structured validation for chart definitions that can be rendered by a host using any charting system.

It does not render charts, generate HTML, build JavaScript options, or depend on frontend or PHP frameworks.

System Architecture & React Registry

The Elqora Chart system consists of two complementary components:

  1. PHP Package (elqora/chart): The protocol authority. Runs on your backend to construct, validate, and serialize portable chart data models into deterministic JSON.
  2. Elqora Shadcn React Registry: The customizable host implementation. An editable React component registry built with Recharts, Tailwind CSS, and shadcn UI. It receives serialized JSON payloads directly from your PHP backend and renders them dynamically on the frontend.

Installing React Registry Components

You can install the React chart infrastructure directly into your React / Next.js / Vite application using the shadcn CLI with the organization/repo/component namespace:

Or directly from the registry manifest URL:

This installs editable components into your project's components/chart/ directory, including:

Frontend React Usage

Once installed, your frontend simply fetches the JSON response from your PHP backend API and passes it to the unified <Chart /> component:


Installation

Convenience builders

The Charts facade creates the same canonical Chart objects as manual construction.

Minimal line chart

Bar chart

Pie chart

Scatter chart

Manual construction

The builders are only convenience methods. Manual construction remains the canonical chart protocol and is useful when you need direct access to payload DTOs.

Hierarchical chart

Financial chart

Serialization

All DTOs serialize to deterministic, JSON-compatible arrays. Nullable fields are omitted consistently.

Validation

Validation collects structured issues and does not rely on exceptions for expected user-data errors.

Renderer neutrality

Elqora Chart describes chart meaning and data. Hosts decide how to map that model into a renderer, a report, a data table, or another output. The public API deliberately avoids renderer option objects, callbacks, CSS, framework service identifiers, DOM behavior, and component names.

Non-goals


All versions of chart with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
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 elqora/chart contains the following files

Loading the files please wait ...