PHPackages                             chansig/directoryindex - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. chansig/directoryindex

AbandonedArchivedLibrary[DevOps &amp; Deployment](/categories/devops)

chansig/directoryindex
======================

PHP directory Index

v0.3.2(10y ago)664↓100%11MITPHPPHP &gt;=5.3.0

Since Jul 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Chansig/DirectoryIndex)[ Packagist](https://packagist.org/packages/chansig/directoryindex)[ Docs](https://github.com/Chansig/DirectoryIndex)[ RSS](/packages/chansig-directoryindex/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (1)

Directory Index - The simplest PHP directory Index
==================================================

[](#directory-index---the-simplest-php-directory-index)

Created by, \[Chansig\] ()

Introduction
------------

[](#introduction)

Directory Index is a simple PHP script that lists the contents of any web-accessable directory and allows navigating there within. Simply upload **index.php** file to any directory and get immediate access to all files and sub-direcories under that directory. Directory Index is written in PHP 5.3+ and distributed under the [MIT License](http://www.opensource.org/licenses/mit-license.php).

Features
--------

[](#features)

- Extremely simple installation
- Creates on-the-fly listing of any web-accessable directory
- Custimizable sort order of files/folders
- Easily define hidden files or file type to be excluded from the listing

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

[](#requirements)

Directory Index requires PHP 5.3+ to work properly. For more information on PHP, please visit .

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

[](#installation)

- Upload `src/index.php` to the folder you want listed. That's all!
- For more settings:

    - copy src/index.php or execute src/generate.php with the destination in argument and rename index.php.dist in index.php.

        ex:
        php src/generate.php /var/www/mysite
    - Edit the new index.php and change values in Setting class
    - Upload `index.php` to the folder you want listed.

Troubleshooting
---------------

[](#troubleshooting)

Ensure you have the latest version of Directory Index installed.

Verify that you have PHP 5.3 or later installed. You can verify your PHP version by running:

```
php --version

```

Contact Info
------------

[](#contact-info)

Find a problem or bug with Directory Index? [Open an issue](https://github.com/Chansig/DirectoryIndex/issues) on GitHub.

License
-------

[](#license)

Directory Index is distributed under the terms of the [MIT License](http://www.opensource.org/licenses/mit-license.php).

Copyright 2015 \[Chansig\] ()

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

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

Total

4

Last Release

3905d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

routerserverindexdirectory

### Embed Badge

![Health badge](/badges/chansig-directoryindex/health.svg)

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

###  Alternatives

[spatie/laravel-webhook-server

Send webhooks in Laravel apps

1.1k8.8M22](/packages/spatie-laravel-webhook-server)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[clue/socket-raw

Simple and lightweight OOP wrapper for PHP's low-level sockets extension (ext-sockets).

35111.1M48](/packages/clue-socket-raw)[voryx/thruway

Thruway WAMP router core

6771.0M17](/packages/voryx-thruway)[php-mcp/server

PHP SDK for building Model Context Protocol (MCP) servers - Create MCP tools, resources, and prompts

828280.5k25](/packages/php-mcp-server)

PHPackages © 2026

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