{"id":13405194,"url":"https://github.com/ADOdb/ADOdb","last_synced_at":"2025-03-14T09:32:33.681Z","repository":{"id":37493224,"uuid":"11987721","full_name":"ADOdb/ADOdb","owner":"ADOdb","description":"ADOdb is a PHP database class library that provides powerful abstractions for performing queries and managing databases. ADOdb also hides the differences between DB engines so you can easily switch them without changing your code.","archived":false,"fork":false,"pushed_at":"2024-09-04T01:46:04.000Z","size":7526,"stargazers_count":427,"open_issues_count":66,"forks_count":269,"subscribers_count":50,"default_branch":"master","last_synced_at":"2024-09-09T17:11:23.046Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"https://adodb.org/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ADOdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-08-08T22:06:36.000Z","updated_at":"2024-08-30T02:00:30.000Z","dependencies_parsed_at":"2022-07-09T09:46:14.692Z","dependency_job_id":"bdc0f507-f16e-4a9d-ab74-7a18cad62502","html_url":"https://github.com/ADOdb/ADOdb","commit_stats":{"total_commits":1836,"total_committers":93,"mean_commits":"19.741935483870968","dds":0.5196078431372548,"last_synced_commit":"928936acf7188678f366516a75c5407d7e866038"},"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADOdb%2FADOdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADOdb%2FADOdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADOdb%2FADOdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADOdb%2FADOdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ADOdb","download_url":"https://codeload.github.com/ADOdb/ADOdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221454075,"owners_count":16824598,"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":["hacktoberfest"],"created_at":"2024-07-30T19:01:57.163Z","updated_at":"2024-10-25T19:31:49.187Z","avatar_url":"https://github.com/ADOdb.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"ADOdb Library for PHP\n======================\n\n[![Join chat on Gitter](https://img.shields.io/gitter/room/adodb/adodb?logo=gitter)](https://gitter.im/adodb/adodb?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![SourceForge Downloads Shield](https://img.shields.io/sourceforge/dm/adodb?label=SourceForge\u0026logo=sourceforge\u0026color=informational)](https://sourceforge.net/projects/adodb/files/latest/download)\n[![Packagist Downloads Shield](https://img.shields.io/packagist/dm/ADOdb/ADOdb-php?label=Packagist\u0026logo=packagist\u0026logoColor=white\u0026color=informational)](https://packagist.org/packages/adodb/adodb-php)\n\n(c) 2000-2013 John Lim (jlim@natsoft.com)  \n(c) 2014      Damien Regad, Mark Newnham and the\n              [ADOdb community](https://github.com/ADOdb/ADOdb/graphs/contributors)\n\nThe ADOdb Library is dual-licensed, released under both the\n[BSD 3-Clause](https://github.com/ADOdb/ADOdb/blob/master/LICENSE.md#bsd-3-clause-license) \nand the\n[GNU Lesser General Public Licence (LGPL) v2.1](https://github.com/ADOdb/ADOdb/blob/master/LICENSE.md#gnu-lesser-general-public-license)\nor, at your option, any later version. \nThis means you can use it in proprietary products;\nsee [License](https://github.com/ADOdb/ADOdb/blob/master/LICENSE.md) for details.\n\nHome page: https://adodb.org/\n\n\nIntroduction\n============\n\nPHP's database access functions are not standardized. This creates a\nneed for a database class library to hide the differences between the\ndifferent databases (encapsulate the differences) so we can easily\nswitch databases.\n\nThe library currently supports MySQL, Firebird \u0026 Interbase, PostgreSQL, SQLite3, Oracle,\nMicrosoft SQL Server, Foxpro ODBC, Access ODBC, Informix, DB2, Sybase,\nSybase SQL Anywhere, generic ODBC and Microsoft's ADO.\n\nWe hope more people will contribute drivers to support other databases.\n\n\nInstallation\n============\n\nUnpack all the files into a directory accessible by your web server.\n\nTo test, try modifying some of the tutorial examples.\nMake sure you customize the connection settings correctly.\n\nYou can debug using:\n\n``` php\n\u003c?php\ninclude('adodb/adodb.inc.php');\n\n$db = adoNewConnection($driver); # eg. 'mysqli' or 'oci8'\n$db-\u003edebug = true;\n$db-\u003econnect($server, $user, $password, $database);\n$rs = $db-\u003eexecute('select * from some_small_table');\nprint \"\u003cpre\u003e\";\nprint_r($rs-\u003egetRows());\nprint \"\u003c/pre\u003e\";\n```\n\n\nDocumentation and Examples\n==========================\n\nRefer to the [ADOdb website](https://adodb.org/) for library documentation and examples. The documentation can also be [downloaded for offline viewing](https://sourceforge.net/projects/adodb/files/Documentation/).\n\n- [Main documentation](https://adodb.org/dokuwiki/doku.php?id=v5:userguide:userguide_index): Query, update and insert records using a portable API.\n- [Data dictionary](https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:dictionary_index) describes how to create database tables and indexes in a portable manner.\n- [Database performance monitoring](https://adodb.org/dokuwiki/doku.php?id=v5:performance:performance_index) allows you to perform health checks, tune and monitor your database.\n- [Database-backed sessions](https://adodb.org/dokuwiki/doku.php?id=v5:session:session_index).\n\nThere is also a [tutorial](https://adodb.org/dokuwiki/doku.php?id=v5:userguide:mysql_tutorial) that contrasts ADOdb code with PHP native MySQL code.\n\n\nFiles\n=====\n\n- `adodb.inc.php` is the library's main file. You only need to include this file.\n- `adodb-*.inc.php` are the database specific driver code.\n- `adodb-session.php` is the PHP4 session handling code.\n- `test.php` contains a list of test commands to exercise the class library.\n- `testdatabases.inc.php` contains the list of databases to apply the tests on.\n- `Benchmark.php` is a simple benchmark to test the throughput of a SELECT\nstatement for databases described in testdatabases.inc.php. The benchmark\ntables are created in test.php.\n\n\nSupport\n=======\n\nTo discuss with the ADOdb development team and users, connect to our\n[Gitter chatroom](https://gitter.im/adodb/adodb) using your Github credentials.\n\nPlease report bugs, issues and feature requests on Github:\n\nhttps://github.com/ADOdb/ADOdb/issues\n\nYou may also find legacy issues in\n\n- the [SourceForge tickets section](http://sourceforge.net/p/adodb/_list/tickets)\n\nHowever, please note that they are not actively monitored and should\nonly be used as reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FADOdb%2FADOdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FADOdb%2FADOdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FADOdb%2FADOdb/lists"}