Automatically add an 'index.php' in all the current or specified directories and all sub-directories.

v2.1.0 2022-10-10 08:35 UTC

This package is auto-updated.

Last update: 2024-06-10 12:20:49 UTC


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

Getting Started

Installation via composer

This projet is downloadable via Composer, the PHP Package Manager. We recommend having it in the require-dev section of your dependancies as it is not needed on production environments.

composer require --dev prestashop/autoindex

Installation via git clone

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


  • php-cli: php bin/autoindex prestashop:add:index (/your/module/path)

If you want to customize the "index.php" file, edit it in "sources" directory