{"id":16314472,"url":"https://github.com/tim168/data-dict","last_synced_at":"2025-03-22T20:35:58.430Z","repository":{"id":57069759,"uuid":"252376296","full_name":"TIM168/data-dict","owner":"TIM168","description":":computer::elephant:mysql数据库，生成PDF、HTML格式数据字典 Mysql database, generate PDF, HTML format data dictionary","archived":false,"fork":false,"pushed_at":"2020-06-22T08:51:32.000Z","size":145,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T21:54:00.243Z","etag":null,"topics":["data","data-dict","laravel","mysql","pdf","php","thinkphp","yii2"],"latest_commit_sha":null,"homepage":"https://github.com/TIM168/data-dict","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/TIM168.png","metadata":{"files":{"readme":"README-en.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":"2020-04-02T06:42:30.000Z","updated_at":"2023-08-23T08:20:49.000Z","dependencies_parsed_at":"2022-08-24T10:20:44.576Z","dependency_job_id":null,"html_url":"https://github.com/TIM168/data-dict","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIM168%2Fdata-dict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIM168%2Fdata-dict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIM168%2Fdata-dict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIM168%2Fdata-dict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TIM168","download_url":"https://codeload.github.com/TIM168/data-dict/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221839387,"owners_count":16889615,"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":["data","data-dict","laravel","mysql","pdf","php","thinkphp","yii2"],"created_at":"2024-10-10T21:54:01.963Z","updated_at":"2024-10-28T14:19:56.259Z","avatar_url":"https://github.com/TIM168.png","language":"PHP","readme":"\u003ch1 align=\"center\"\u003e Data Dict\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e PHP components that can generate data dictionaries in HTML and PDF formats\u003c/p\u003e\n\n[![Build Status](https://travis-ci.org/TIM168/data-dict.svg?branch=master)](https://travis-ci.org/TIM168/data-dict)\n[![Latest Stable Version](https://poser.pugx.org/tim168/data-dict/v/stable)](https://packagist.org/packages/tim168/data-dict)\n[![Total Downloads](https://poser.pugx.org/tim168/data-dict/downloads)](https://packagist.org/packages/tim168/data-dict)\n[![Latest Unstable Version](https://poser.pugx.org/tim168/data-dict/v/unstable)](https://packagist.org/packages/tim168/data-dict)\n[![License](https://poser.pugx.org/tim168/data-dict/license)](https://packagist.org/packages/tim168/data-dict)\n[![composer.lock](https://poser.pugx.org/tim168/data-dict/composerlock)](https://packagist.org/packages/tim168/data-dict)\n\nREADME: [中文](https://github.com/TIM168/data-dict/blob/master/README.md \"中文\")/[English](https://github.com/TIM168/data-dict/blob/master/README-en.md \"English\")\n\n## Install\n\n```shell\n$ composer require tim168/data-dict\n```\n\n## Use\n    require __DIR__ .'/vendor/autoload.php';\n\n    use Tim168\\DataDict\\DataDict;\n    \n    $data = new DataDict('dbHost', 'dbUserName', 'Password', 'dbName','port');\n    $data-\u003eget('fileName','type','lang');\n\n## Parameters\n\tdbHost：Database IP address\n\tdbUserName：Database account\n\tPassword：Database password\n\tdbName：Database names\n\tport：Database port number (3306 by default)\n\tfileName：fileName\n\ttype：html or pdf\n\tlang：zh-CN（chinese）、en（english）\n## get html\n    $data-\u003eget('test','html','en');\n## get pdf\n    $data-\u003eget('test','pdf','en');\n\t\n## demo\n![pdf demo](https://github.com/TIM168/data-dict/blob/master/src/demo/pdf.png)\n\t\n![html demo](https://github.com/TIM168/data-dict/blob/master/src/demo/html.png)\n\t\n## License\n**MIT**\n\n## End\n#### Thank you for giving me a star\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim168%2Fdata-dict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftim168%2Fdata-dict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim168%2Fdata-dict/lists"}