# symfony/finder

Finds files and directories via an intuitive fluent interface

Repository: https://github.com/symfony/finder
Canonical: https://ross.abutalabs.com/products/finder
Homepage: https://symfony.com/finder
Language: PHP
License: MIT
License Family: permissive
Topics: php, symfony, component, symfony-component
Last push: 2026-08-22T13:47:26+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 5671, "days_push": 11, "days_rel": 11, "gap_med": 0.0, "n_releases_24m": 41}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8434, forks 55 (observed 2026-08-28T04:10:21.190699+00:00)

## What it is
Symfony Finder is a PHP component for locating files and directories using a fluent, chainable interface with filters by name, size, date, path, and content. It is a standalone Composer package usable in any PHP project, not just Symfony applications.

## Use cases
- find files by name pattern in php
- iterate over directory contents with filters
- search files by size or modification date
- exclude vendor or vcs directories when scanning files
- sort and filter file listings in php

## When to choose
- you need expressive, composable file/directory searches in PHP
- you want a battle-tested component used by Laravel, Drupal, Composer and other major projects
- you need filtering by name, size, date, depth, or custom callbacks in one API

## When to avoid
- you need high-performance raw filesystem scanning where iterator overhead matters
- you are not working in PHP
- you need full-text file content search or indexing rather than file discovery

## Facets
- artifact type: library
- maturity: stable
- function: file-system, developer-tools
- domain: files, developer-tools, web-development
- platform: php, cross-platform
- tags: file-finder, fluent-interface, symfony-component, glob, directory-iteration

## Member repositories
- symfony/finder (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:21.190699+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:27:15.114022+00:00, confidence not recorded.
  - readme: https://github.com/symfony/finder (fetched 2026-08-28T04:10:21.190699+00:00, sha 26e81c835d29)
  - homepage: https://symfony.com/finder (fetched 2026-08-29T08:27:08.551438+00:00, sha 46795015cc1e)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T08:27:08.560435+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/doc/current/components/finder.html (fetched 2026-08-29T08:27:08.608933+00:00, sha 6cdba5a785b2)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T08:27:08.619986+00:00, sha f109a7a4a5da)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T08:27:08.622530+00:00, sha 373d532304d3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
