{"id":21301997,"url":"https://github.com/liudding/laravel-echarts","last_synced_at":"2026-05-16T23:06:44.166Z","repository":{"id":56969295,"uuid":"327272167","full_name":"liudding/laravel-echarts","owner":"liudding","description":"Build ECharts with laravel","archived":false,"fork":false,"pushed_at":"2021-01-25T02:26:26.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T08:15:38.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liudding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-06T10:09:06.000Z","updated_at":"2022-10-14T09:56:08.000Z","dependencies_parsed_at":"2022-08-21T10:50:40.664Z","dependency_job_id":null,"html_url":"https://github.com/liudding/laravel-echarts","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liudding%2Flaravel-echarts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liudding%2Flaravel-echarts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liudding%2Flaravel-echarts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liudding%2Flaravel-echarts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liudding","download_url":"https://codeload.github.com/liudding/laravel-echarts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243776378,"owners_count":20346350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T15:54:09.155Z","updated_at":"2026-05-16T23:06:39.123Z","avatar_url":"https://github.com/liudding.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# laravel echarts\n\nBuild ECharts using laravel\n\n## Install\n\n```\ncomposer require ding/laravel-echarts\n```\n\n\n\n## Usage\n\nIn your php file or block:\n```php\n$chart = app('chart')-\u003elocale('ZH')\n    -\u003eaddSeries([\n        'name' =\u003e 'Series #1',\n        'type' =\u003e 'line',\n        'data' =\u003e [1, 3, 2, 2, 4, 12, 5]\n    ])\n    -\u003eaddSeries([\n        'name' =\u003e 'Series #2',\n        'type' =\u003e 'line',\n        'data' =\u003e [3, 1, 3, 4, 2, 11, 3]\n    ])\n    -\u003exAxis(['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'])\n    -\u003eyAxis()\n    -\u003elegend() // 自动根据 series names 设置 legend\n    -\u003elazy(); // 懒加载\n\n```\n\nIn your `blade` file\n\n```php\n\u003cdiv style=\"width: 500px;height:400px;\"\u003e\n    {!! $chart-\u003erender() !!}\n\u003c/div\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliudding%2Flaravel-echarts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliudding%2Flaravel-echarts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliudding%2Flaravel-echarts/lists"}