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)
```

PHPackages © 2026

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