Download the PHP package hbvsoft/jpgraph without Composer

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

JpGraph Community Edition v4.1.1 (Fork by Hassan Bagheri)

Packagist Version Packagist Downloads GitHub Actions Status

این نسخه فورک شده JpGraph Community Edition v4.1.0 است که تنها تغییرات اعمال شده حذف توابع deprecated و سازگاری کامل با PHP 8.2 می‌باشد.


درباره این فورک

این فورک بر پایه نسخه JpGraph Community Edition v4.1.0 ساخته شده است که کاملاً با PHP 8.2 سازگار است و توابع و هشدارهای deprecated حذف یا اصلاح شده‌اند.

تمامی تغییرات فقط به هدف بروزرسانی سازگاری با نسخه‌های جدید PHP انجام شده و هیچ تغییر عملکردی یا ویژگی جدیدی به کتابخانه اضافه نشده است.

این پروژه همچنان کاملاً منطبق با استانداردهای PSR-1, PSR-2 و PSR-4 باقی مانده است.


ویژگی‌ها


نیازمندی‌ها و نصب

استفاده

همانند نسخه اصلی JpGraph، کافی است در پروژه خود composer install کنید و سپس از autoload استفاده کنید:


require_once 'vendor/autoload.php';

use hbvsoft\JpGraph\Graph;
use hbvsoft\JpGraph\Plot;

// ایجاد نمودار پای
$graph = new Graph\PieGraph(350, 250);
$graph->title->Set("A Simple Pie Plot");
$graph->SetBox(true);

$data = [40, 21, 17, 14, 23];
$p1 = new Plot\PiePlot($data);
$p1->ShowBorder();
$p1->SetColor('black');
$p1->SetSliceColors(['#1E90FF', '#2E8B57', '#ADFF2F', '#DC143C', '#BA55D3']);

$graph->Add($p1);
$graph->Stroke();

All versions of jpgraph with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-gd 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 hbvsoft/jpgraph contains the following files

Loading the files please wait ...