PHPackages                             edouardkombo/php-directory-manager - 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. edouardkombo/php-directory-manager

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

edouardkombo/php-directory-manager
==================================

Simple class to manage directories in php using directoryIterator.

07PHP

Since Aug 24Pushed 11y ago1 watchersCompare

[ Source](https://github.com/edouardkombo/PhpDirectoryManager)[ Packagist](https://packagist.org/packages/edouardkombo/php-directory-manager)[ RSS](/packages/edouardkombo-php-directory-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Php Directory Manager
=====================

[](#php-directory-manager)

About
-----

[](#about)

Php Directory Manager helps you manage directories with directoryIterator php native objects. It will help you create, browse, copy and delete directories.

This class is fully tested with CodeCeption.

Requirements
------------

[](#requirements)

Require PHP version 5.4 or greater.

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

[](#installation)

Register the bundle in your composer.json

```
{
    "require": {
        "edouardkombo/php-directory-manager": "dev-master"
    }
}

```

Now, install the vendor

```
php composer.phar install

```

Don't forget to execute tests

```
codecept run unit

```

Documentation
-------------

[](#documentation)

```
$manager = new DirectoryManager();
$manager->setDirectoryIterator('path/to/directory');

//Move content to another directory
$manager->move('path/to/new/directory');

//Move a specific file to another directory
$manager->move('path/to/new/directory', 'NameOfFileToMove');

//Delete all directory content
$manager->delete('path/to/new/directory');

//Delete specific file
$manager->delete('NameOfFileToDelete');

```

Contributing
------------

[](#contributing)

If you want to help me improve this bundle, please make sure it conforms to the PSR coding standard. The easiest way to contribute is to work on a checkout of the repository, or your own fork, rather than an installed version.

Issues
------

[](#issues)

Bug reports and feature requests can be submitted on the [Github issues tracker](https://github.com/edouardkombo/PhpDirectoryManager/issues).

For further informations, contact me directly at .

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/aadb7e8f4da66da9399b9ee24b275e520707a61db7b75570aeaebf2084d9b236?d=identicon)[edouardkombo](/maintainers/edouardkombo)

### Embed Badge

![Health badge](/badges/edouardkombo-php-directory-manager/health.svg)

```
[![Health](https://phpackages.com/badges/edouardkombo-php-directory-manager/health.svg)](https://phpackages.com/packages/edouardkombo-php-directory-manager)
```

###  Alternatives

[htmlburger/carbon-fields

WordPress developer-friendly custom fields for post types, taxonomy terms, users, comments, widgets, options and more.

1.5k665.2k57](/packages/htmlburger-carbon-fields)[tightenco/tlint

Tighten linter for Laravel conventions

5271.2M34](/packages/tightenco-tlint)[dflydev/placeholder-resolver

Given a data source representing key =&gt; value pairs, resolve placeholders like ${foo.bar} to the value associated with the 'foo.bar' key in the data source.

14414.6M3](/packages/dflydev-placeholder-resolver)[pear/pear

This is the definitive source of PEAR's core files.

1161.7M20](/packages/pear-pear)[pragmarx/ia-collection

Laravel Illuminate Agnostic Collection

473.4M2](/packages/pragmarx-ia-collection)[saade/filament-autograph

A Filament package to manage signatures.

80195.0k](/packages/saade-filament-autograph)

PHPackages © 2026

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