Skip to content
PHP - Automatically add an "index.php" in all directories recursively
Branch: master
Clone or download
Latest commit f4b9935 Mar 8, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
css [*] Improve php interface detection Nov 27, 2014
fonts Initial commit Nov 19, 2014
js Initial commit Nov 19, 2014
sources Update license year Mar 8, 2017
.travis.yml [+] Add travis Nov 27, 2014
LICENSE Initial commit Nov 19, 2014 Update Jul 23, 2015
index.php Update index.php Feb 12, 2016

Auto Index

Automatically add an "index.php" in all your directories or your zip file recursively

Getting Started

To use this script, choose one of the following options to get started:

  • Download the latest release on Auto Index
  • Fork this repository on GitHub

Use your own "index.php" file

  • Edit "index.php" file in "sources" directory


  • php-cli: php index.php ../ps/modules/mymodules/ ../ps/themes/mythemes/
  • Web browser:
    • http://localhost/autoindex/
    • http://localhost/autoindex/?path=../ps/modules/mymodules/,../ps/themes/mythemes/


Only for using this tool with a zip

(PHP 5 >= 5.2.0, PECL zip >= 1.1.0)

$ pecl install zip



Copyright and License

Copyright 2014 Jean-Marie Collin. Code released under the MIT License license.

Theme used Copyright 2014 Iron Summit Media Strategies, LLC. Code released under the Apache 2.0 license.

You can’t perform that action at this time.