{"id":37232862,"url":"https://github.com/thamaraiselvam/mysql-import","last_synced_at":"2026-01-15T03:51:13.750Z","repository":{"id":28979407,"uuid":"32505894","full_name":"thamaraiselvam/mysql-import","owner":"thamaraiselvam","description":"Import SQL backup file using PHP","archived":false,"fork":false,"pushed_at":"2021-11-09T07:21:56.000Z","size":55,"stargazers_count":39,"open_issues_count":1,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-12-17T08:07:05.176Z","etag":null,"topics":["database","import","mysql","mysqli","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thamaraiselvam.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":"2015-03-19T06:58:54.000Z","updated_at":"2023-11-30T15:55:52.000Z","dependencies_parsed_at":"2022-09-01T12:51:39.824Z","dependency_job_id":null,"html_url":"https://github.com/thamaraiselvam/mysql-import","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/thamaraiselvam/mysql-import","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thamaraiselvam%2Fmysql-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thamaraiselvam%2Fmysql-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thamaraiselvam%2Fmysql-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thamaraiselvam%2Fmysql-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thamaraiselvam","download_url":"https://codeload.github.com/thamaraiselvam/mysql-import/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thamaraiselvam%2Fmysql-import/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["database","import","mysql","mysqli","php"],"created_at":"2026-01-15T03:51:13.062Z","updated_at":"2026-01-15T03:51:13.734Z","avatar_url":"https://github.com/thamaraiselvam.png","language":"PHP","funding_links":["https://www.buymeacoffee.com/R8Nc2vn"],"categories":[],"sub_categories":[],"readme":"# MySQL Importer\n\n ![ViewCount](https://views.whatilearened.today/views/github/thamaraiselvam/mysql-import.svg)\n\n\u003cimg alt=\"Packagist\" src=\"https://img.shields.io/packagist/dd/thamaraiselvam/mysql-import.svg?style=for-the-badge\"\u003e \u003cimg alt=\"Packagist\" src=\"https://img.shields.io/packagist/dm/thamaraiselvam/mysql-import.svg?style=for-the-badge\"\u003e \u003cimg alt=\"Packagist\" src=\"https://img.shields.io/packagist/dt/thamaraiselvam/mysql-import.svg?style=for-the-badge\"\u003e \u003cimg alt=\"GitHub tag (latest SemVer)\" src=\"https://img.shields.io/github/tag/thamaraiselvam/mysql-import.svg?style=for-the-badge\"\u003e \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/thamaraiselvam/mysql-import.svg?style=for-the-badge\"\u003e\n\u003cimg alt=\"Travis\" src=\"https://img.shields.io/travis/thamaraiselvam/mysql-import?style=for-the-badge\"\u003e\n\n\u003ca href=\"https://www.buymeacoffee.com/R8Nc2vn\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png\" alt=\"Buy Me A Coffee\"\u003e\u003c/a\u003e\n\nImport MySQL database backup files easily with \u003cstrong\u003eMySQL Import\u003c/strong\u003e\n\n## Development\n\nRun:\n\n```sh\n$ git clone https://github.com/thamaraiselvam/mysql-import.git\n$ cd mysql-import\n$ composer install\n```\n\nThis will setup the library dependencies for you.\n\nTo run tests, run\n\n```sh\n$ composer phpunit\n```\n\nTo ensure your code is following the coding style, run\n\n```sh\n$ composer phpcs\n```\n\n### Install\n\nUsing composer include the repository by typing the following into a terminal\n\n```\ncomposer require thamaraiselvam/mysql-import\n```\n\n### Usage\n\nInclude the composer autoloader, import the Import namespace.\n\n```\n\u003c?php\nrequire('vendor/autoload.php');\n\nuse Thamaraiselvam\\MysqlImport\\Import;\n\n$filename = 'database.sql';\n$username = 'root';\n$password = '';\n$database = 'sampleproject';\n$host = 'localhost';\nnew Import($filename, $username, $password, $database, $host);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthamaraiselvam%2Fmysql-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthamaraiselvam%2Fmysql-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthamaraiselvam%2Fmysql-import/lists"}