{"id":14973968,"url":"https://github.com/vasa-c/go-db","last_synced_at":"2025-10-27T05:31:01.521Z","repository":{"id":3073491,"uuid":"4096699","full_name":"vasa-c/go-db","owner":"vasa-c","description":"Work with different databases from PHP","archived":false,"fork":false,"pushed_at":"2018-02-26T16:45:19.000Z","size":508,"stargazers_count":64,"open_issues_count":19,"forks_count":11,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-02-01T02:33:49.184Z","etag":null,"topics":["mysql","pgsql","php","sqlite"],"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/vasa-c.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2012-04-21T14:36:00.000Z","updated_at":"2024-09-10T06:09:13.000Z","dependencies_parsed_at":"2022-09-12T13:31:20.844Z","dependency_job_id":null,"html_url":"https://github.com/vasa-c/go-db","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasa-c%2Fgo-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasa-c%2Fgo-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasa-c%2Fgo-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasa-c%2Fgo-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vasa-c","download_url":"https://codeload.github.com/vasa-c/go-db/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238437660,"owners_count":19472460,"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":["mysql","pgsql","php","sqlite"],"created_at":"2024-09-24T13:49:45.549Z","updated_at":"2025-10-27T05:31:01.176Z","avatar_url":"https://github.com/vasa-c.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go\\DB: работа с различными БД из PHP\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/go/db.svg?style=flat-square)](https://packagist.org/packages/go/db)\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.3-8892BF.svg?style=flat-square)](https://php.net/)\n[![Build Status](https://img.shields.io/travis/vasa-c/go-db/master.svg?style=flat-square)](https://travis-ci.org/vasa-c/go-db)\n[![Coverage Status](https://coveralls.io/repos/vasa-c/go-db/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/vasa-c/go-db?branch=master)\n[![License](https://poser.pugx.org/go/db/license)](LICENSE)\n\n![logo](http://img-fotki.yandex.ru/get/5801/go-ns.0/0_500ae_e4ea1806_orig.png)\n\n * Поддерживаемые адаптеры: MySQL, SQLite, PgSQL\n * Документация: https://github.com/vasa-c/go-db/wiki\n * Обсуждение на pyha.ru: http://pyha.ru/forum/topic/554.0\n * Версия 1.x: https://github.com/vasa-c/godb-old\n * Лицензия: MIT (https://github.com/vasa-c/go-db/blob/master/LICENSE)\n * Тестировано под Debian для PHP 5.(3,4,5,6), PHP 7.(0.1.2), HHVM\n\n## Установка\n\n * Composer: `go/db`\n * Релизы: https://github.com/vasa-c/go-db/tags\n * Репа: git@github.com:vasa-c/go-db.git\n\n## Документация\n\n * [Идеология и основные принципы](https://github.com/vasa-c/go-db/wiki/intro)\n * [Установка и системные требования](https://github.com/vasa-c/go-db/wiki/install)\n * [Создание подключения к базе](https://github.com/vasa-c/go-db/wiki/create)\n * [Выполнение запроса](https://github.com/vasa-c/go-db/wiki/query)\n * [Шаблон запроса: плейсхолдеры](https://github.com/vasa-c/go-db/wiki/placeholders)\n * [Именованные плейсхолдеры](https://github.com/vasa-c/go-db/wiki/named)\n * [Префикс имён таблиц](https://github.com/vasa-c/go-db/wiki/prefix)\n * [Разбор результата](https://github.com/vasa-c/go-db/wiki/fetch)\n * [Обработка ошибок](https://github.com/vasa-c/go-db/wiki/Exceptions)\n * [Хранилище объектов подключений](https://github.com/vasa-c/go-db/wiki/Storage)\n * [Отладочная информация](https://github.com/vasa-c/go-db/wiki/debug)\n * [Отложенное подключение и закрытие соединения](https://github.com/vasa-c/go-db/wiki/connect)\n * [Клонирование объекта базы](https://github.com/vasa-c/go-db/wiki/clone)\n * [Надстройка над таблицами](https://github.com/vasa-c/go-db/wiki/Table)\n\n### Форматы данных\n\n * [Формат WHERE](https://github.com/vasa-c/go-db/wiki/where)\n * [Формат COLS](https://github.com/vasa-c/go-db/wiki/cols)\n * [Формат TABLE](https://github.com/vasa-c/go-db/wiki/table-format)\n * [Формат SET](https://github.com/vasa-c/go-db/wiki/set)\n\n### Дополнительно\n\n * [Unit-тесты](https://github.com/vasa-c/go-db/wiki/tests)\n * [Написание адаптеров](https://github.com/vasa-c/go-db/wiki/Adapters)\n * [Compat: совместимость со старыми версиями](https://github.com/vasa-c/go-db/wiki/Compat)\n\n### Поддерживаемые адаптеры\n\n * [mysql](https://github.com/vasa-c/go-db/wiki/Adapters_mysql)\n * [mysqlold](https://github.com/vasa-c/go-db/wiki/Adapters_mysqlold)\n * [sqlite](https://github.com/vasa-c/go-db/wiki/Adapters_sqlite)\n * [pgsql](https://github.com/vasa-c/go-db/wiki/Adapters_pgsql)\n\n## Отдельное спасибо\n\n * Dallone aka Алексей Полев, за адаптер PgSQL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasa-c%2Fgo-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvasa-c%2Fgo-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasa-c%2Fgo-db/lists"}