{"id":15365941,"url":"https://github.com/andywer/json-sql-import","last_synced_at":"2025-09-07T05:34:25.615Z","repository":{"id":66057884,"uuid":"13219296","full_name":"andywer/json-sql-import","owner":"andywer","description":"Small PHP tool to import JSON data into database tables using transformation rules.","archived":false,"fork":false,"pushed_at":"2013-09-30T18:16:25.000Z","size":120,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-28T07:36:04.814Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/andywer.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":"2013-09-30T15:32:51.000Z","updated_at":"2022-09-22T15:00:13.000Z","dependencies_parsed_at":"2023-02-19T21:50:39.992Z","dependency_job_id":null,"html_url":"https://github.com/andywer/json-sql-import","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andywer/json-sql-import","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fjson-sql-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fjson-sql-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fjson-sql-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fjson-sql-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andywer","download_url":"https://codeload.github.com/andywer/json-sql-import/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fjson-sql-import/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273997340,"owners_count":25204522,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-01T13:16:45.395Z","updated_at":"2025-09-07T05:34:25.554Z","avatar_url":"https://github.com/andywer.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"json-sql-import\n===============\n\nSmall PHP command line tool to import JSON data into database tables using transformation rules (templated SQL queries).\n\nUsage\n-----\n\n```php\nphp json-import.php \u003coptions\u003e\n```\n\nOmit the options to print the help / usage notice.\n\nExample\n-------\n\nHave a look at the [demo ruleset](https://github.com/andywer/json-sql-import/blob/master/rulesets/demo/test.json).\n\nYou would use this ruleset using `php json-import.php import demo/test path/to/data.json`. An appropriate JSON data file would have to look like this:\n\n```json\n[\n  {\n    \"somevar\": \"hello world\",\n    \"somearray\": [\n      { \"name\": \"somenumber\", \"value\": 123.45 },\n      ...\n    ]\n  },\n  \n  ...\n]\n```\n\nLicense\n-------\n\nThis software is released under the MIT license. See [license](https://raw.github.com/andywer/json-sql-import/master/LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandywer%2Fjson-sql-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandywer%2Fjson-sql-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandywer%2Fjson-sql-import/lists"}