prestashop / autoindex
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
Requires
- php: ^8.0 || ^7.2
- nikic/php-parser: ^4.10
- symfony/console: ^3.4 || ~4.0 || ~5.0 || ~6.0
- symfony/finder: ^3.4 || ~4.0 || ~5.0 || ~6.0
Requires (Dev)
- phpstan/phpstan: ^0.12.83
- prestashop/php-dev-tools: 1.*
This package is auto-updated.
Last update: 2024-10-10 13:03:18 UTC
README
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
Usage
- 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