{"id":19771093,"url":"https://github.com/mikeshiyan/lite-sql-insert","last_synced_at":"2026-04-18T05:32:07.003Z","repository":{"id":57049625,"uuid":"109731615","full_name":"mikeshiyan/lite-sql-insert","owner":"mikeshiyan","description":"Lightweight SQL insertion service.","archived":false,"fork":false,"pushed_at":"2018-05-19T12:48:12.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-13T06:25:38.083Z","etag":null,"topics":["composer","insert","lite","oop","pdo","php","sql"],"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/mikeshiyan.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-06T18:10:39.000Z","updated_at":"2018-05-19T12:45:36.000Z","dependencies_parsed_at":"2022-08-23T17:50:10.379Z","dependency_job_id":null,"html_url":"https://github.com/mikeshiyan/lite-sql-insert","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/mikeshiyan/lite-sql-insert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshiyan%2Flite-sql-insert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshiyan%2Flite-sql-insert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshiyan%2Flite-sql-insert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshiyan%2Flite-sql-insert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikeshiyan","download_url":"https://codeload.github.com/mikeshiyan/lite-sql-insert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeshiyan%2Flite-sql-insert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31957553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["composer","insert","lite","oop","pdo","php","sql"],"created_at":"2024-11-12T05:01:08.632Z","updated_at":"2026-04-18T05:32:06.987Z","avatar_url":"https://github.com/mikeshiyan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lite SQL Insert\n\n[![Build Status](https://travis-ci.org/mikeshiyan/lite-sql-insert.svg?branch=master)](https://travis-ci.org/mikeshiyan/lite-sql-insert)\n\nVery lightweight PHP service class for SQL INSERT queries abstraction.\n\nBest suited for use as a [Composer](https://getcomposer.org) library.\n\n## Requirements\n\n* PHP \u003e= 7.1\n* PDO extension\n\n## Installation\n\nTo add this library to your Composer project:\n```\ncomposer require shiyan/lite-sql-insert\n```\n\n## Usage\n\n```\n$connection = new \\Shiyan\\LiteSqlInsert\\Connection($pdo);\n$insert = $connection-\u003einsert('my_table', ['name', 'value']);\n\nforeach ($my_data as $name =\u003e $value) {\n  $insert-\u003evalues(['name' =\u003e $name, 'value' =\u003e $value]);\n}\n\n$insert-\u003ecommit();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeshiyan%2Flite-sql-insert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikeshiyan%2Flite-sql-insert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeshiyan%2Flite-sql-insert/lists"}