{"id":16897747,"url":"https://github.com/endroid/simple-spreadsheet","last_synced_at":"2025-03-17T06:32:00.164Z","repository":{"id":56977731,"uuid":"42076689","full_name":"endroid/simple-spreadsheet","owner":"endroid","description":"Library to simplify spreadsheet imports and exports from various sources","archived":false,"fork":false,"pushed_at":"2024-10-25T21:02:27.000Z","size":80,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-27T19:25:14.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://endroid.nl/","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/endroid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"endroid"}},"created_at":"2015-09-07T22:07:39.000Z","updated_at":"2024-10-25T21:01:22.000Z","dependencies_parsed_at":"2024-10-27T12:13:35.331Z","dependency_job_id":"d61d2510-0764-40c8-bea6-d95d619550cc","html_url":"https://github.com/endroid/simple-spreadsheet","commit_stats":{"total_commits":72,"total_committers":2,"mean_commits":36.0,"dds":0.04166666666666663,"last_synced_commit":"2e73517bae93453a7a8f17014331503dd3e27b77"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fsimple-spreadsheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fsimple-spreadsheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fsimple-spreadsheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endroid%2Fsimple-spreadsheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endroid","download_url":"https://codeload.github.com/endroid/simple-spreadsheet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847061,"owners_count":20357317,"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-10-13T17:39:36.757Z","updated_at":"2025-03-17T06:31:59.073Z","avatar_url":"https://github.com/endroid.png","language":"PHP","funding_links":["https://github.com/sponsors/endroid"],"categories":[],"sub_categories":[],"readme":"# Simple Spreadsheet\n\n*By [endroid](https://endroid.nl/)*\n\n[![Latest Stable Version](http://img.shields.io/packagist/v/endroid/simple-spreadsheet.svg)](https://packagist.org/packages/endroid/simple-spreadsheet)\n[![Build Status](https://github.com/endroid/simple-spreadsheet/workflows/CI/badge.svg)](https://github.com/endroid/simple-spreadsheet/actions)\n[![Total Downloads](http://img.shields.io/packagist/dt/endroid/simple-spreadsheet.svg)](https://packagist.org/packages/endroid/simple-spreadsheet)\n[![License](http://img.shields.io/packagist/l/endroid/simple-spreadsheet.svg)](https://packagist.org/packages/endroid/simple-spreadsheet)\n\nLibrary for quickly importing and exporting spreadsheet data. Data can be loaded\nfrom and converted from / to an array, an Excel/CSV file or Spreadsheet object.\n\nThe main advantage of this library is the small amount of code needed to perform\nan import or export of data, given one of the above formats.\n\n## Installation\n\nUse [Composer](https://getcomposer.org/) to install the library.\n\n``` bash\n$ composer require endroid/simple-spreadsheet\n```\n\n## Usage\n\n```php\n\u003c?php\n\nuse Endroid\\SimpleSpreadsheet\\Adapter\\FileAdapter;\nuse Endroid\\SimpleSpreadsheet\\SimpleSpreadsheet;\n\n$spreadsheet = new SimpleSpreadsheet();\n$spreadsheet-\u003eload('data.xlsx'); // Load all sheets from data.xlsx\n$spreadsheet-\u003eload([\n    'Players' =\u003e [\n        ['name' =\u003e 'L. Messi', 'club' =\u003e 'Barcelona'],\n        ['name' =\u003e 'C. Ronaldo', 'club' =\u003e 'Real Madrid']\n    ]\n]);\n\n$spreadsheet-\u003esave(FileAdapter::class, ['Players'], ['filename' =\u003e 'players.csv']);\n```\n\nYou can also use the `saveToString` and `getHeadersByFilename` methods to build a\nResponse object instead of directly outputting to the browser.\n\n## Versioning\n\nVersion numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatible\nchanges will be kept to a minimum but be aware that these can occur. Lock\nyour dependencies for production and test your code when upgrading.\n\n## License\n\nThis bundle is under the MIT license. For the full copyright and license\ninformation please view the LICENSE file that was distributed with this source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendroid%2Fsimple-spreadsheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendroid%2Fsimple-spreadsheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendroid%2Fsimple-spreadsheet/lists"}