drupal-paranoia icon indicating copy to clipboard operation
drupal-paranoia copied to clipboard

Composer Plugin for improving the security of composer-based Drupal projects by moving all PHP files out of docroot

Results 8 drupal-paranoia issues
Sort by recently updated
recently updated
newest added

### Issue links https://github.com/drupal-composer/drupal-paranoia/issues/19

During installation of this package, during early site builds where the 'sites' directory does not exist under `$this->appDir/sites` an `InvalidArgumentException` or a `DirectoryNotFoundException` will be thrown by the Symfony Finder...

In case of files dir have non-standart path, it should be possible to provide it for drupal-paranoia too. And it can be located outside of drupal installation.

enhancement

Hi, I tested this out, but in the end the composer install ended with this error: `...` `web.config (https://cgit.drupalcode.org/drupal/plain/web.config?h=8.5.4): Downloading (100%) ` `In Filesystem.php line 342:` `$from (C:\websites\test\htdocs/sites/default/files) and $to...

enhancement

webp and avif images are not symlinked automatically out-of-the-box. ### Issue links https://github.com/drupal-composer/drupal-paranoia/issues/27 ### Description Add those formats in the default assetFileTypes.

### Issue links #25 ### Description Add statistics contrib module support.

Recently, the Statistics module has been removed in core from [Drupal 11](https://www.drupal.org/node/3423969) and this module is now maintained by [fgm](https://www.drupal.org/project/statistics). But the statistics.php path is hardcoded in [frontControllers](https://github.com/drupal-composer/drupal-paranoia/blob/1.x/src/Installer.php#L53), and it's...