{"id":16817202,"url":"https://github.com/rap2hpoutre/csv-to-associative-array","last_synced_at":"2025-06-15T20:13:34.636Z","repository":{"id":57046709,"uuid":"60757271","full_name":"rap2hpoutre/csv-to-associative-array","owner":"rap2hpoutre","description":"Get your CSV as an associative array","archived":false,"fork":false,"pushed_at":"2016-11-24T13:16:46.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T23:51:24.654Z","etag":null,"topics":["array","composer","csv","php"],"latest_commit_sha":null,"homepage":"","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/rap2hpoutre.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":"2016-06-09T07:33:24.000Z","updated_at":"2019-01-18T16:04:50.000Z","dependencies_parsed_at":"2022-08-24T03:01:12.766Z","dependency_job_id":null,"html_url":"https://github.com/rap2hpoutre/csv-to-associative-array","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rap2hpoutre%2Fcsv-to-associative-array","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rap2hpoutre%2Fcsv-to-associative-array/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rap2hpoutre%2Fcsv-to-associative-array/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rap2hpoutre%2Fcsv-to-associative-array/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rap2hpoutre","download_url":"https://codeload.github.com/rap2hpoutre/csv-to-associative-array/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248328578,"owners_count":21085347,"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":["array","composer","csv","php"],"created_at":"2024-10-13T10:46:30.796Z","updated_at":"2025-04-11T02:24:26.335Z","avatar_url":"https://github.com/rap2hpoutre.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSV to associative array\n\nThis package only contains a 587 bytes function: `csv_to_associative_array`.\n\n## What?\n\nGet your CSV file as an associative array. From this:\n\n```csv\nname,email\nraphael,raphael@example.org\nlisa,lisa@example.org\n```\n\nTo this:\n```php\n[ \n  ['name' =\u003e 'raphael', 'email' =\u003e 'raphael@example.org'], \n  ['name' =\u003e 'lisa',    'email' =\u003e 'lisa@example.org'] \n]\n```\n\n## How?\n\nInstall via composer\n```\ncomposer require rap2hpoutre/csv-to-associative-array\n```\n\nUse\n```\n$content = \\Rap2hpoutre\\Csv\\csv_to_associative_array('path/to/csv/file.csv');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frap2hpoutre%2Fcsv-to-associative-array","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frap2hpoutre%2Fcsv-to-associative-array","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frap2hpoutre%2Fcsv-to-associative-array/lists"}