Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically move standard files to web folder #8

Open
maks-oleksyuk opened this issue Jan 4, 2025 · 0 comments
Open

Automatically move standard files to web folder #8

maks-oleksyuk opened this issue Jan 4, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@maks-oleksyuk
Copy link

Summary

Inspired by the drupal/core-composer-scaffold plugin, I propose to introduce similar functionality, namely:

When using the wordpress-core-installer plugin, automatically install the index.php and wp-config.php files in the project's web directory (web_root), as well as the bedrock-autoloader.php file in the mu-plugins directory.

These files do not change often, so I think they can be moved. The wp-config.php file contains a comment not to edit this file.

If the files are installed automatically, it allows you to include these files in .gitignore and not worry about them, which is useful for CI

Additional context

Also, this functionality allows you to include the web folder in .gitignore and leave it under the full control of composer

@maks-oleksyuk maks-oleksyuk added the enhancement New feature or request label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant