{"id":36976021,"url":"https://github.com/miranj/craft-sheets-to-tables","last_synced_at":"2026-01-13T22:07:10.547Z","repository":{"id":57017377,"uuid":"157700031","full_name":"miranj/craft-sheets-to-tables","owner":"miranj","description":"A Twig function to convert Spreadsheets into HTML tables","archived":false,"fork":false,"pushed_at":"2024-04-14T13:42:48.000Z","size":16,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-10-22T18:02:47.095Z","etag":null,"topics":["craft-plugin","craft3","craftcms","spreadsheet","twig","twig-filter"],"latest_commit_sha":null,"homepage":"https://plugins.craftcms.com/sheets-to-tables","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miranj.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-15T11:24:24.000Z","updated_at":"2022-07-19T13:58:43.000Z","dependencies_parsed_at":"2022-08-22T11:31:36.176Z","dependency_job_id":null,"html_url":"https://github.com/miranj/craft-sheets-to-tables","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/miranj/craft-sheets-to-tables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miranj%2Fcraft-sheets-to-tables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miranj%2Fcraft-sheets-to-tables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miranj%2Fcraft-sheets-to-tables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miranj%2Fcraft-sheets-to-tables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miranj","download_url":"https://codeload.github.com/miranj/craft-sheets-to-tables/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miranj%2Fcraft-sheets-to-tables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28402192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["craft-plugin","craft3","craftcms","spreadsheet","twig","twig-filter"],"created_at":"2026-01-13T22:07:09.726Z","updated_at":"2026-01-13T22:07:10.542Z","avatar_url":"https://github.com/miranj.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" src=\"./src/icon.svg\" width=\"100\" height=\"100\" alt=\"Sheets to Tables icon\"\u003e\n\n# Sheets to Tables\n\nThis [Craft CMS][] plugin adds a [Twig][] function to convert Spreadsheets into HTML tables.\n\n[craft cms]:https://craftcms.com/\n[twig]:http://twig.sensiolabs.org/\n\n\n\n## Contents\n\n- [Usage](#usage)\n- [Installation](#installation)\n- [Requirements](#requirements)\n- [Changelog](./CHANGELOG.md)\n- [License](./LICENSE.md)\n\n\n\n## Usage\n\nTo convert a spreadsheet file into an HTML `\u003ctable\u003e`, pass an [craft\\elements\\Asset][asset] object as an argument to the `sheetstotables( asset )` Twig function.\n\n[asset]:https://docs.craftcms.com/api/v3/craft-elements-asset.html\n\n```twig\n{% set spreadsheet = craft.assets.kind('excel').one() %}\n\n{{ sheetstotables(spreadsheet) }}\n\n```\n\nIf the spreadsheet file contains multiple sheets, only the contents of the first sheet will be rendered as a table.\n\n### Supported file formats\n- CSV\n- Excel (.xlsx, .xls)\n- Open Document Format (.ods)\n- [Other formats supported by PhpSpreadsheet](https://phpspreadsheet.readthedocs.io/en/develop/)\n\n\n\n## Installation\n\nYou can install this plugin from the [Plugin Store][ps] or with Composer.\n\n[ps]:https://plugins.craftcms.com/sheets-to-tables\n\n#### From the Plugin Store\nGo to the Plugin Store in your project’s Control Panel and search for “Sheets to Tables”.\nThen click on the “Install” button in its modal window.\n\n#### Using Composer\nOpen your terminal and run the following commands:\n\n    # go to the project directory\n    cd /path/to/project\n    \n    # tell composer to use the plugin\n    composer require miranj/craft-sheets-to-tables\n    \n    # tell Craft to install the plugin\n    ./craft plugin/install sheets-to-tables\n\n\n\n## Requirements\n\nThis plugin requires Craft CMS 3, 4, or 5.\n\n\n\n---\n\nBrought to you by [Miranj](https://miranj.in/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiranj%2Fcraft-sheets-to-tables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiranj%2Fcraft-sheets-to-tables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiranj%2Fcraft-sheets-to-tables/lists"}