{"id":22683371,"url":"https://github.com/milan-miscevic/folder","last_synced_at":"2025-08-30T12:35:27.701Z","repository":{"id":28081481,"uuid":"116174119","full_name":"milan-miscevic/folder","owner":"milan-miscevic","description":"Folder scanner","archived":false,"fork":false,"pushed_at":"2023-02-22T06:42:18.000Z","size":121,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-18T05:25:53.435Z","etag":null,"topics":["absolute-path","active-folder","files","folder","folders","relative-path","scanner"],"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/milan-miscevic.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}},"created_at":"2018-01-03T19:31:57.000Z","updated_at":"2022-04-01T20:28:20.000Z","dependencies_parsed_at":"2025-02-04T15:32:02.405Z","dependency_job_id":"793bee8c-1f05-4c11-a36f-94c850077805","html_url":"https://github.com/milan-miscevic/folder","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/milan-miscevic/folder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-miscevic%2Ffolder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-miscevic%2Ffolder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-miscevic%2Ffolder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-miscevic%2Ffolder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milan-miscevic","download_url":"https://codeload.github.com/milan-miscevic/folder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-miscevic%2Ffolder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272852276,"owners_count":25004052,"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-08-30T02:00:09.474Z","response_time":77,"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":["absolute-path","active-folder","files","folder","folders","relative-path","scanner"],"created_at":"2024-12-09T21:11:54.736Z","updated_at":"2025-08-30T12:35:27.683Z","avatar_url":"https://github.com/milan-miscevic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# folder\n\n[![Software License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)\n[![PDS Skeleton](https://img.shields.io/badge/pds-skeleton-blue.svg?style=flat-square)](https://github.com/php-pds/skeleton)\n\n[![GitHub Build](https://github.com/milan-miscevic/folder/workflows/Test/badge.svg?branch=master)](https://github.com/milan-miscevic/folder/actions)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=milan-miscevic_folder\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=milan-miscevic_folder)\n[![Type Coverage](https://shepherd.dev/github/milan-miscevic/folder/coverage.svg)](https://shepherd.dev/github/milan-miscevic/folder)\n[![Mutation testing badge](https://img.shields.io/endpoint?style=flat\u0026url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fmilan-miscevic%2Ffolder%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/milan-miscevic/folder/master)\n\nA folder scanner.\n\n## Usage\n\n```php\nuse Mmm\\Folder\\ActiveFolder;\nuse Mmm\\Folder\\ActiveSubFolder;\n\n$af = new ActiveFolder(__DIR__);\n$af-\u003egetFolders(); // returns a list of folders\n$af-\u003egetAbsoluteFolders(); // returns a list of folders with absolute paths\n$af-\u003egetFiles(); // returns a list of files\n$af-\u003egetAbsoluteFiles(); // returns a list of files with absolute paths\n\n$asf = new ActiveSubFolder(__DIR__, '.');\n$asf-\u003egetFolders();\n$asf-\u003egetAbsoluteFolders();\n$asf-\u003egetRelativeFolders(); // returns a list of folders with relative paths to the base folder\n$asf-\u003egetFiles();\n$asf-\u003egetAbsoluteFiles();\n$asf-\u003egetRelativeFiles(); // returns a list of files with relative paths to the base folder\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilan-miscevic%2Ffolder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilan-miscevic%2Ffolder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilan-miscevic%2Ffolder/lists"}