Download the PHP package hisune/echarts-php without Composer

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

Echarts-PHP

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Echarts-PHP is a PHP library that works as a wrapper for the Echarts js library (https://github.com/apache/echarts). Support Apache ECharts (incubating) from version 2.2.x to 5.x.

Welcome star ⭐️!

Setup

The recommended way to install Echarts-PHP is through Composer. Just run the composer command to install it:

Table of Contents

Usage

Simple, recommend using PHP property

public ECharts::__construct([string] $dist = '')

Add series with property

void ECharts::addSeries(\Hisune\EchartsPHP\Doc\IDE\Series $series)

Add XAxis with property

void ECharts::addXAxis(\Hisune\EchartsPHP\Doc\IDE\XAxis $xAxis)

Add YAxis with property

void ECharts::addYAxis(\Hisune\EchartsPHP\Doc\IDE\YAxis $yAxis)

Or you can set option array directly

void ECharts::setOption(array $option)

array|string ECharts::getOption([array] $render = null, [boolean] $jsObject = false)

Array key support

Empty object assignment

If you need to assign a value to an empty object, you can use StdClass, for example: $chart->yAxis = new \StdClass;

Javascript function

string Config::jsExpr(string $string)

Customer JS variable name

void ECharts::setJsVar(string $name = null)

string ECharts::getJsVar()

Customer attribute

string ECharts::render(string $id, [array] $attribute = [], [string] $theme = null)

Events (for 3.x+)

void ECharts::on(string $event, string $callback)

string Config::eventMethod(string $name)

Customer dist

Dist type

Whether or not load minify js file

Add extra script from cdn

string Config::addExtraScript(string $file, [string] $dist = null)

The example for ECharts theme use addExtraScript

Full Echarts PHPDoc

For more detail visit: https://hisune.com/view/50/echarts-php-property-phpdoc-auto-generate

Demos

https://demo.hisune.com/echarts-php/

demo

All the Echarts live demos present on https://echarts.apache.org/

License

MIT


All versions of echarts-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
ext-json Version *
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 hisune/echarts-php contains the following files

Loading the files please wait ....