{"id":30187023,"url":"https://github.com/takuya/php-files-search-db-builder","last_synced_at":"2025-10-24T22:38:28.148Z","repository":{"id":286491419,"uuid":"961561743","full_name":"takuya/php-files-search-db-builder","owner":"takuya","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-21T10:36:30.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T12:26:34.114Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takuya.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-06T19:06:36.000Z","updated_at":"2025-10-21T10:36:34.000Z","dependencies_parsed_at":"2025-04-06T20:24:25.946Z","dependency_job_id":"255882e3-eaef-40ed-a2ca-4064d7534b2b","html_url":"https://github.com/takuya/php-files-search-db-builder","commit_stats":null,"previous_names":["takuya/php-files-search-db-builder"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/takuya/php-files-search-db-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fphp-files-search-db-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fphp-files-search-db-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fphp-files-search-db-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fphp-files-search-db-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takuya","download_url":"https://codeload.github.com/takuya/php-files-search-db-builder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fphp-files-search-db-builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280878344,"owners_count":26406641,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"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":[],"created_at":"2025-08-12T15:24:29.176Z","updated_at":"2025-10-24T22:38:28.130Z","avatar_url":"https://github.com/takuya.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## find files and save result into sqlite3\n\nTo speed up for searching files, build search indexer fts.\n\n## FTS 5 \n\nThe fts in sqlite3, can search by trigram. this package make use of it to search files. \n\nただ、日本語だとFTS5は３文字以上が曲者。bigram 作ればいいけど、ファイル名程度の検索なら LIKEで充分かも\n\n## installation\n```shell\nname='php-files-search-db-builder'\ncomposer config repositories.$name \\\nvcs https://github.com/takuya/$name  \ncomposer require takuya/$name:master\ncomposer install\n```\n```shell\nname='takuya/php-files-search-db-builder'\nrepo=git@github.com:$name.git\ncomposer config repositories.$name vcs $repo\ncomposer require $name\n```\n\n## sample \n\n```shell\nuse Takuya\\SearchFiles\\FindDbBuilder;\n\nrequire __DIR__.'/vendor/autoload.php';\n\n$db = './sample.db';\nfile_exists($db) \u0026\u0026 unlink($db);\n$dir = '/home/takuya/';\n$builder = new FindDbBuilder( \"sqlite:{$db}\", $dir );\n$builder-\u003elocates_build();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuya%2Fphp-files-search-db-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakuya%2Fphp-files-search-db-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuya%2Fphp-files-search-db-builder/lists"}