{"id":15068581,"url":"https://github.com/mrceperka/sql-file-loader","last_synced_at":"2026-01-03T06:10:17.451Z","repository":{"id":57020771,"uuid":"111102486","full_name":"mrceperka/sql-file-loader","owner":"mrceperka","description":"SQL file loader - Load queries from big SQL files","archived":false,"fork":false,"pushed_at":"2017-11-17T13:24:43.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T21:21:59.484Z","etag":null,"topics":["files","php7","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/mrceperka.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":"2017-11-17T12:44:13.000Z","updated_at":"2022-02-12T14:31:51.000Z","dependencies_parsed_at":"2022-08-23T13:50:44.877Z","dependency_job_id":null,"html_url":"https://github.com/mrceperka/sql-file-loader","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrceperka%2Fsql-file-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrceperka%2Fsql-file-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrceperka%2Fsql-file-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrceperka%2Fsql-file-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrceperka","download_url":"https://codeload.github.com/mrceperka/sql-file-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847057,"owners_count":20357317,"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":["files","php7","sql"],"created_at":"2024-09-25T01:38:25.628Z","updated_at":"2026-01-03T06:10:17.412Z","avatar_url":"https://github.com/mrceperka.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL File Loader\n[![CircleCI](https://circleci.com/gh/mrceperka/sql-file-loader.svg?style=svg)](https://circleci.com/gh/mrceperka/sql-file-loader)\n---\n## Installation\n`composer require mrceperka/sql-file-loader`\n\n## Important notes\n- Statements in SQL file have to end with `;`\n- Loader **does NOT** check the SQL syntax\n\n# Usage\n```php\n\u003c?php\nuse \\MrCeperka\\SqlFileLoader\\SqlFileLoader;\n\n$resource = __DIR__ . '/data.sql';\n// or with stdin\n// $resource = fopen('php://stdin', 'r');\n\n$loader = new SqlFileLoader($resource);\n$queries = $loader-\u003egetQueries();\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrceperka%2Fsql-file-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrceperka%2Fsql-file-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrceperka%2Fsql-file-loader/lists"}