{"id":18320663,"url":"https://github.com/xtlsoft/nondb","last_synced_at":"2025-07-21T08:33:13.229Z","repository":{"id":57085094,"uuid":"109535673","full_name":"xtlsoft/NonDB","owner":"xtlsoft","description":"A NoSQL Database for itself.","archived":false,"fork":false,"pushed_at":"2018-03-04T05:45:47.000Z","size":29,"stargazers_count":19,"open_issues_count":1,"forks_count":26,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T22:32:38.814Z","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":"mit","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-04T22:45:27.000Z","updated_at":"2022-02-10T12:18:16.000Z","dependencies_parsed_at":"2022-08-25T00:50:17.589Z","dependency_job_id":null,"html_url":"https://github.com/xtlsoft/NonDB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xtlsoft/NonDB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtlsoft%2FNonDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtlsoft%2FNonDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtlsoft%2FNonDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtlsoft%2FNonDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtlsoft","download_url":"https://codeload.github.com/xtlsoft/NonDB/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtlsoft%2FNonDB/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266267290,"owners_count":23902334,"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:04.127Z","updated_at":"2025-07-21T08:33:13.207Z","avatar_url":"https://github.com/xtlsoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NonDB\nNonDB Stands for None DB.\n\n## Install 安装\n```sh\ncomposer install xtlsoft/nondb\n```\n\n## Usage 使用\n```php\n\u003c?php\n    require_once \"vendor/autoload.php\";\n\n    use \\NonDB\\NonDB;\n\n    $db = new NonDB( NonDB::driver('LocalDriver:./data/') );\n\n    $name = $db-\u003etable('test')-\u003egetAll()[0]-\u003eanother[0]-\u003ename;\n\n    $person = $db-\u003etable('person')-\u003ecreate();\n    $person-\u003eid = $person-\u003eparent()-\u003eautoincrement();\n    $person-\u003ename = $name;\n    $person-\u003ehobbies = ['swimming', 'dancing'];\n    $person-\u003elocation = $db-\u003etable('location')[10]-\u003ename;\n    $person-\u003esave();\n\n    $anotherPerson = $person-\u003eparent()-\u003efind(NonDB::where('location', '%China%'));\n\n    $anotherPerson-\u003esetMode('id', NonDB::Auto)-\u003esave();\n    echo $anotherPerson-\u003ename;\n\n    echo $db-\u003edump(\\NonDB\\Components\\Dump::DUMP_JSON_PRETTY);\n\n```\n\n## Documents 文档\nhttps://docs.xapps.top\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtlsoft%2Fnondb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtlsoft%2Fnondb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtlsoft%2Fnondb/lists"}