{"id":18320699,"url":"https://github.com/xtlsoft/xdb","last_synced_at":"2025-04-09T14:28:59.055Z","repository":{"id":110415782,"uuid":"71670777","full_name":"xtlsoft/xdb","owner":"xtlsoft","description":"XDB，一个轻量级但不简单的文件数据库，用php编写，只要有php就可以用。","archived":false,"fork":false,"pushed_at":"2017-11-07T08:53:39.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T08:30:44.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xtlsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-22T23:11:06.000Z","updated_at":"2021-08-02T14:00:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"db4bbae3-a18b-4b8e-a06b-7797e572606c","html_url":"https://github.com/xtlsoft/xdb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtlsoft%2Fxdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtlsoft%2Fxdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtlsoft%2Fxdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtlsoft%2Fxdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtlsoft","download_url":"https://codeload.github.com/xtlsoft/xdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054815,"owners_count":21040070,"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":[],"created_at":"2024-11-05T18:17:16.185Z","updated_at":"2025-04-09T14:28:59.028Z","avatar_url":"https://github.com/xtlsoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XDB\n## Notice: This Project is no longer supported. Please see https://github.com/xtlsoft/NonDB\n\nXDB，一个轻量级但不简单的文件数据库，用php编写，只要有php就可以用。\n版本说明\n-------\n版本：1.0.1-alpha2，实现了select,where,DB,showDB,showTBL,insert,update,delete,makeDB,makeTBL,dropDB,dropTBL，预计实现,makeUSER,deleteUSER,chpwd,chper\u003cbr\u003e\n目前还只能include引用 `/xdb/server/index.php` ，日后实现curl远程remote。\u003cbr\u003e\n\n如何使用？\n-----\n使用简单：include我们的/server/index.php，就可以new一个xdb，开始使用。\u003cbr\u003e\n默认passcode:1234    username:root     password:123456\u003cbr\u003e\npasscode计算：`substr(md5($passcode),8,16)` password计算:`md5(md5(md5(md5($PWD).\"X\").\"D\").\"B\")`\u003cbr\u003e\n例如：\u003cbr\u003e\n\n    \u003c?php\n        include(\"./server/index.php\");\n        $xdb = new xdb(\"1234\",\"123456\",\"root\");\n        echo \"\u003cpre\u003e\";\n        if($xdb-\u003egetLogin()[0]){\n            var_dump($xdb-\u003eDB(\"test\")-\u003ewhere(\"%\",\"%\")-\u003eselect(\"test\"));\n        }else{\n            echo $xdb-\u003egetLogin[1];\n        }\n     ?\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtlsoft%2Fxdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtlsoft%2Fxdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtlsoft%2Fxdb/lists"}