{"repo":"wierklu/envpress","free":true,"listed":false,"github":"https://github.com/wierklu/envpress","clone":"git clone https://github.com/wierklu/envpress.git","description":"PHP package streamlining the configuration of WordPress instances using env vars.","language":"PHP","stars":16,"topics":["php","wordpress","config"],"license":"MIT","category":"networking-infra","readme_excerpt":"EnvPress A PHP package streamlining the configuration of modern and secure WordPress instances using a standard set of environment variables. Key Features - Designed for Composer based WordPress setups (e.g. Bedrock) - Static wp-config.php - Load environment variables from .env files with vlucas/phpdotenv - Gather facts from trusted proxies (e.g. Load Balancers) - Attach backing services using URLs (e.g. MySQL, SMTP) - Configure Multisite Networks using environment variables - Apply role and capability changes based on env vars - Disable native WordPress features using flags (e.g. XML-RPC, comments, oEmbed) - Harden WordPress by default: Disable file modifications and hide version Motivation The standard setup of WordPress involves maintaining a wp-config.php file for setting basic configuration options, such as paths, the database connection, and security salts. Except for the actual configuration values, the source code of this file is repeated for each instance with little to no variation. Other common configurations, such as SMTP server credentials and disabling XML-RPC, must be handled separately, far away from wp-config.php, in a custom (child) theme or using multiple third-party plugins. This package is designed to simplify the configuration process and lessen the maintenance workload for the majority of WordPress instances. It relies on a standard set of environment variables (see list below), rather than boilerplate PHP code, to configure an instance. Getting Started","default_branch":null,"files":null,"tree":[],"storefront":"/r/wierklu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wierklu/envpress/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}