PHPackages                             junty/junty-todir - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. junty/junty-todir

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

junty/junty-todir
=================

Send globs to another paths.

v0.1.2(10y ago)0931MITPHPPHP &gt;=7.0

Since Mar 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/the-junty/junty-todir)[ Packagist](https://packagist.org/packages/junty/junty-todir)[ RSS](/packages/junty-junty-todir/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (1)

toDir
=====

[](#todir)

Send globs to another paths.

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

[](#installation)

```
$ composer require --dev junty/junty-todir
```

Usage
-----

[](#usage)

On your `juntyfile.php`:

```
require 'vendor/autoload.php';

use Junty\Runner;
use Junty\ToDir\ToDirPlugin;

$junty = new Runner();

$junty->task('catch_txt', function () {
    $this->src('./*.txt')
        ->forStreams(new ToDirPlugin('txt_files')); // Send all txt files to txt_files
});
```

### Nativaly!

[](#nativaly)

This plugin comes nativaly with Junty, so you don't need to install.

```
// ...
->forStreams($this->toDir('directory_name'))
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~2 days

Total

3

Last Release

3714d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4fcbdf815749595d3dcfd4fb781e2cac05aa6d132123aa9da889d2c5ca6c8e11?d=identicon)[GabrielJMJ](/maintainers/GabrielJMJ)

---

Top Contributors

[![gabrieljmj](https://avatars.githubusercontent.com/u/2223216?v=4)](https://github.com/gabrieljmj "gabrieljmj (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/junty-junty-todir/health.svg)

```
[![Health](https://phpackages.com/badges/junty-junty-todir/health.svg)](https://phpackages.com/packages/junty-junty-todir)
```

###  Alternatives

[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

343121.4M79](/packages/google-cloud-core)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[php-tuf/php-tuf

PHP implementation of The Update Framework (TUF)

456.5k1](/packages/php-tuf-php-tuf)[millerphp/laravel-browserless

This is my package laravel-browserless

1212.0k](/packages/millerphp-laravel-browserless)

PHPackages © 2026

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