PHPackages                             macfja/symfony-console-filechooser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. macfja/symfony-console-filechooser

ActiveLibrary[CLI &amp; Console](/categories/cli)

macfja/symfony-console-filechooser
==================================

Filechooser Helper for Symfony console (with autocompletion support)

1.0.0(7y ago)913.3k↑33.3%1MITPHP

Since Sep 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/MacFJA/Symfony-Console-Filechooser)[ Packagist](https://packagist.org/packages/macfja/symfony-console-filechooser)[ RSS](/packages/macfja-symfony-console-filechooser/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (5)Used By (1)

File chooser
============

[](#file-chooser)

The library provide a file selector capacity to any symfony console application. It's support autocomplete functionality for navigating in directory.

Installation
------------

[](#installation)

### Composer

[](#composer)

```
composer require macfja/symfony-console-filechooser
```

### Usage

[](#usage)

```
use MacFJA\Symfony\Console\Filechooser\FilechooserHelper;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

$app = new Application();

// Adding the helper to Symfony Console Application
$app->getHelperSet()->set(new FilechooserHelper());

$app->register('ask-path')->setCode(function (InputInterface $input, OutputInterface $output) use ($app) {
    // ask and validate the answer
    $dialog = $app->getHelperSet()->get('filechooser');
    $filter = new \MacFJA\Symfony\Console\Filechooser\FileFilter('Where is your file? ');
    $path = $dialog->ask($input, $output, $filter);
    $output->writeln(sprintf('You have just entered: %s', $path));
});

$app->run();
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~562 days

Total

3

Last Release

2813d ago

Major Versions

0.2 → 1.0.02018-10-21

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1475671?v=4)[MacFJA](/maintainers/MacFJA)[@MacFJA](https://github.com/MacFJA)

---

Top Contributors

[![MacFJA](https://avatars.githubusercontent.com/u/1475671?v=4)](https://github.com/MacFJA "MacFJA (5 commits)")

---

Tags

autocompleteautocompletionchooserconsolefilefilesysteminteractivesymfonyconsolesymfonyfilesystemautocompletefileinteractiveautocompletionchooser

### Embed Badge

![Health badge](/badges/macfja-symfony-console-filechooser/health.svg)

```
[![Health](https://phpackages.com/badges/macfja-symfony-console-filechooser/health.svg)](https://phpackages.com/packages/macfja-symfony-console-filechooser)
```

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k582.3M820](/packages/psy-psysh)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.7k357.7M11.1k](/packages/nunomaduro-collision)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

369273.2k8](/packages/matthiasnoback-symfony-console-form)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
