{"id":19351493,"url":"https://github.com/steadfast-collective/statamic-csv-exporter","last_synced_at":"2025-04-23T07:31:03.500Z","repository":{"id":55552382,"uuid":"473954004","full_name":"steadfast-collective/statamic-csv-exporter","owner":"steadfast-collective","description":"Export your content to CSV files.","archived":false,"fork":false,"pushed_at":"2024-05-16T03:38:34.000Z","size":146,"stargazers_count":4,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T12:27:37.586Z","etag":null,"topics":["csv-exporter","statamic-addon","statamic-utility","statamic-v3"],"latest_commit_sha":null,"homepage":"https://statamic.com/addons/steadfastcollective/csv-exporter","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/steadfast-collective.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":"2022-03-25T09:53:48.000Z","updated_at":"2024-08-15T23:18:11.000Z","dependencies_parsed_at":"2023-02-12T00:50:11.628Z","dependency_job_id":null,"html_url":"https://github.com/steadfast-collective/statamic-csv-exporter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadfast-collective%2Fstatamic-csv-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadfast-collective%2Fstatamic-csv-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadfast-collective%2Fstatamic-csv-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steadfast-collective%2Fstatamic-csv-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steadfast-collective","download_url":"https://codeload.github.com/steadfast-collective/statamic-csv-exporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250391120,"owners_count":21422846,"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-exporter","statamic-addon","statamic-utility","statamic-v3"],"created_at":"2024-11-10T04:36:26.479Z","updated_at":"2025-04-23T07:31:03.148Z","avatar_url":"https://github.com/steadfast-collective.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- statamic:hide --\u003e\n\n![Screenshot of CSV Export Utility](./screenshot.png)\n\n# Statamic CSV Exporter\n\n\u003c!-- /statamic:hide --\u003e\n\nThis addon gives you the ability to export your content to CSV files.\n\n## Installation\n\nYou can search for this addon in the `Tools \u003e Addons` section of the Statamic Control Panel and click **install**, or run the following command from your project root:\n\n```bash\ncomposer require steadfastcollective/statamic-csv-exporter\n```\n\n## Usage\n\nTo use this addon, follow the usage instructions or [watch this video](https://www.loom.com/share/2d4f2777408a47b1b53d283a0db2cba4):\n\n1. Head into the Control Panel\n2. Go to `Utilities` and click into the 'CSV Exporter' utility\n3. Select the collections you wish to export and click the 'Export' button\n4. A ZIP file will be downloaded. If you open that, you'll find each collection in its own CSV file.\n\n### Ignoring certain fields\n\nIf you'd like to exclude certain fields from being returned by the export, you should add them to the addon's configuration file\n\nBy default, you're unlikley to have the configuration file published. To publish it, run:\n\n```\nphp artisan vendor:publish --tag=statamic-csv-exporter-config\n```\n\nThe config file will appear as `config/statamic-csv-exporter.php`.\n\nIn the config file, you will see an `ignored_fields` array. Inside that, add the handle of the collection, then any of the fields you wish to be excluded.\n\nIn the below example: exports for the `events` collection will exclude the `author` and `excerpt` fields.\n\n```php\n/*\n|--------------------------------------------------------------------------\n| Ignored fields\n|--------------------------------------------------------------------------\n|\n| Configure any fields which should be ignored when exporting items.\n|\n*/\n\n'ignored_fields' =\u003e [\n    'collections' =\u003e [\n\n        'events' =\u003e [\n            'author', 'excerpt',\n        ],\n\n    ],\n],\n```\n\n## Changelog\n\nPlease see [CHANGELOG](https://github.com/steadfast-collective/statamic-csv-exporter/blob/main/CHANGELOG.md) for more information what has changed recently.\n\n## Security\n\nIf you discover any security related issues, please email [dev@steadfastcollective.com](mailto:dev@steadfastcollective.com) instead of using the issue tracker.\n\n## License\n\nThe MIT License (MIT). Please see [License File](https://github.com/steadfast-collective/statamic-csv-exporter/blob/main/LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteadfast-collective%2Fstatamic-csv-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteadfast-collective%2Fstatamic-csv-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteadfast-collective%2Fstatamic-csv-exporter/lists"}