{"id":17093749,"url":"https://github.com/leeqvip/php-excel","last_synced_at":"2025-10-23T21:02:51.288Z","repository":{"id":57066191,"uuid":"158634673","full_name":"leeqvip/php-excel","owner":"leeqvip","description":"一个在PHP中简单且优雅的导入和导出Excel的扩展包","archived":false,"fork":false,"pushed_at":"2018-12-05T15:15:26.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T22:45:01.585Z","etag":null,"topics":["csv","excel-export","excel-import","php","phpexcel","phpoffice","thinkphp"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leeqvip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-22T02:58:15.000Z","updated_at":"2022-04-01T01:18:06.000Z","dependencies_parsed_at":"2022-08-24T14:01:44.546Z","dependency_job_id":null,"html_url":"https://github.com/leeqvip/php-excel","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/leeqvip%2Fphp-excel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeqvip%2Fphp-excel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeqvip%2Fphp-excel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leeqvip%2Fphp-excel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leeqvip","download_url":"https://codeload.github.com/leeqvip/php-excel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643047,"owners_count":21138353,"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":["csv","excel-export","excel-import","php","phpexcel","phpoffice","thinkphp"],"created_at":"2024-10-14T14:08:14.100Z","updated_at":"2025-10-23T21:02:46.265Z","avatar_url":"https://github.com/leeqvip.png","language":"PHP","readme":"PHP-Excel\n====\n\n一个基于[PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet)的拓展包，简化了Excel的导出和导入。\n\n## 安装\n\n通过`composer`安装这个扩展：\n\n```\ncomposer require techone/php-excel\n```\n\n## 快速开始\n\n创建一个导出类：\n\n```php\n\nuse TechOne\\Excel\\Concerns\\FromArray;\n\nclass UsersExport implements FromArray\n{\n    public function array()\n    {\n        return [\n        \t[1, 2, 3], \n        \t[1, 2, 3]\n        ];\n    }\n}\n\n```\n\n可以这样调用：\n\n```php\nExcel::download(new UsersExport(), 'data.xlsx');\n```\n\n## 协议\n\nPHP-Excel采用 [Apache 2.0 license](LICENSE) 开源协议发布。\n\n## 联系\n\n有问题请提交 Issues：https://github.com/techoner/php-excel/issues","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleeqvip%2Fphp-excel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleeqvip%2Fphp-excel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleeqvip%2Fphp-excel/lists"}