{"id":22688377,"url":"https://github.com/javanile/mysql-import","last_synced_at":"2025-08-10T04:36:54.392Z","repository":{"id":56996958,"uuid":"159405453","full_name":"javanile/mysql-import","owner":"javanile","description":"🗃 Import SQL file","archived":false,"fork":false,"pushed_at":"2020-09-21T17:21:15.000Z","size":80,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T04:36:53.869Z","etag":null,"topics":["mysql","mysql-import","php","sql"],"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/javanile.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":"2018-11-27T22:02:29.000Z","updated_at":"2022-04-11T22:57:46.000Z","dependencies_parsed_at":"2022-08-21T14:10:26.371Z","dependency_job_id":null,"html_url":"https://github.com/javanile/mysql-import","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/javanile/mysql-import","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fmysql-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fmysql-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fmysql-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fmysql-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javanile","download_url":"https://codeload.github.com/javanile/mysql-import/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fmysql-import/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269677473,"owners_count":24457853,"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-08-10T02:00:08.965Z","response_time":71,"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":["mysql","mysql-import","php","sql"],"created_at":"2024-12-10T00:14:10.073Z","updated_at":"2025-08-10T04:36:54.372Z","avatar_url":"https://github.com/javanile.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# javanile/mysql-import\n\n[![StyleCI](https://github.styleci.io/repos/159405453/shield?branch=master)](https://github.styleci.io/repos/159405453)\n[![Build Status](https://travis-ci.org/javanile/mysql-import.svg?branch=master)](https://travis-ci.org/javanile/mysql-import)\n[![codecov](https://codecov.io/gh/javanile/mysql-import/branch/master/graph/badge.svg)](https://codecov.io/gh/javanile/mysql-import)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e3a4ba8d9efe47129a2f74618334ba2e)](https://www.codacy.com/app/francescobianco/mysql-import?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=javanile/mysql-import\u0026amp;utm_campaign=Badge_Grade)\n\nThe best way to import SQL file on your database.\n\n## Get started\n\n```bash\n$ composer require javanile/mysql-import\n```\n\n```bash\n$ ./vendor/bin/mysql-import database.sql\n```\n\n## Testing\n\n```bash\n$ docker-compose up -d mysql\n```\n\n```bash\n$ docker-compose run --rm composer install\n```\n\n```bash\n$ docker-compose run --rm phpunit tests\n```\n\n## TDD\n\n```bash\n$ docker-compose run --rm phpunit tests --filter ::testLoader\n```\n\n```bash\n$ docker-compose run --rm phpunit tests --stop-on-failure\n```\n\n```bash\ndocker-compose run --rm php ./bin/mysql-import ./tests/fixtures/database.sql -psecret -utest --do-while\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavanile%2Fmysql-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavanile%2Fmysql-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavanile%2Fmysql-import/lists"}