[PR #823] [MERGED] Switch cypht config hm3.* to dotenv #1072

Closed
opened 2026-02-25 21:37:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/823
Author: @Shadow243
Created: 11/10/2023
Status: Merged
Merged: 12/14/2023
Merged by: @kroky

Base: masterHead: symfony-dotenv


📝 Commits (5)

  • 7ca5dea Replacing hm3.* by dotenv
  • 9d7e69b hm3.ini replaced with dotenv and tested, need to update comment and phpunit
  • 23ef7cd comment updated and phpunit tests updated
  • 6007f80 All module .ini syntax changed to app config - either .php config files or .env files
  • d6ca0c0 Update .env file to default values from hm3.sample.ini & update INSTALL file

📊 Changes

59 files changed (+2229 additions, -330 deletions)

View changed files

.env.dist (+178 -0)
📝 .gitignore (+1 -0)
📝 INSTALL (+20 -34)
📝 composer.json (+2 -1)
📝 composer.lock (+72 -1)
config/2fa.php (+36 -0)
config/app.php (+1299 -0)
config/carddav.php (+22 -0)
config/database.php (+67 -0)
config/dynamic_login.php (+57 -0)
config/ldap.php (+73 -0)
config/services.php (+84 -0)
config/themes.php (+23 -0)
📝 index.php (+1 -5)
📝 lib/config.php (+5 -10)
📝 lib/db.php (+10 -8)
📝 lib/dispatch.php (+1 -1)
lib/environment.php (+139 -0)
📝 lib/framework.php (+15 -9)
modules/2fa/2fa.ini (+0 -26)

...and 39 more files

📄 Description

Task Description: Integrate Symfony Dotenv Package into Cypht Project

Details:
In response to GitHub Issue #813, the Symfony Dotenv package has been added to the Cypht project. This integration is part of an effort to standardize the handling of environment variables across different projects, including Cypht, Tiki, and Tiki Manager.

Next Steps:

  1. Confirm the successful integration of the Symfony Dotenv package into the Cypht project.
  2. Verify that environment variables are appropriately managed and utilized within the project.
  3. Consider extending this standardized approach to other related projects like Tiki for better alignment.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/823 **Author:** [@Shadow243](https://github.com/Shadow243) **Created:** 11/10/2023 **Status:** ✅ Merged **Merged:** 12/14/2023 **Merged by:** [@kroky](https://github.com/kroky) **Base:** `master` ← **Head:** `symfony-dotenv` --- ### 📝 Commits (5) - [`7ca5dea`](https://github.com/cypht-org/cypht/commit/7ca5dea46271ecc7ea7f0c0cb819f9e53945f4c6) Replacing hm3.* by dotenv - [`9d7e69b`](https://github.com/cypht-org/cypht/commit/9d7e69b360932e3a3cf3b3e43e86b324fc60df73) hm3.ini replaced with dotenv and tested, need to update comment and phpunit - [`23ef7cd`](https://github.com/cypht-org/cypht/commit/23ef7cd52c2955dd511257e8d0b61d62514b1d3b) comment updated and phpunit tests updated - [`6007f80`](https://github.com/cypht-org/cypht/commit/6007f80b3a37ebb7fb9090c9d2572a5ec84b7a28) All module .ini syntax changed to app config - either .php config files or .env files - [`d6ca0c0`](https://github.com/cypht-org/cypht/commit/d6ca0c0d510919760e518577e8eac5ce13ac9ee0) Update .env file to default values from hm3.sample.ini & update INSTALL file ### 📊 Changes **59 files changed** (+2229 additions, -330 deletions) <details> <summary>View changed files</summary> ➕ `.env.dist` (+178 -0) 📝 `.gitignore` (+1 -0) 📝 `INSTALL` (+20 -34) 📝 `composer.json` (+2 -1) 📝 `composer.lock` (+72 -1) ➕ `config/2fa.php` (+36 -0) ➕ `config/app.php` (+1299 -0) ➕ `config/carddav.php` (+22 -0) ➕ `config/database.php` (+67 -0) ➕ `config/dynamic_login.php` (+57 -0) ➕ `config/ldap.php` (+73 -0) ➕ `config/services.php` (+84 -0) ➕ `config/themes.php` (+23 -0) 📝 `index.php` (+1 -5) 📝 `lib/config.php` (+5 -10) 📝 `lib/db.php` (+10 -8) 📝 `lib/dispatch.php` (+1 -1) ➕ `lib/environment.php` (+139 -0) 📝 `lib/framework.php` (+15 -9) ➖ `modules/2fa/2fa.ini` (+0 -26) _...and 39 more files_ </details> ### 📄 Description ### Task Description: Integrate Symfony Dotenv Package into Cypht Project **Details:** In response to [GitHub Issue #813](https://github.com/cypht-org/cypht/issues/813), the Symfony Dotenv package has been added to the Cypht project. This integration is part of an effort to standardize the handling of environment variables across different projects, including Cypht, Tiki, and Tiki Manager. **Next Steps:** 1. Confirm the successful integration of the Symfony Dotenv package into the Cypht project. 2. Verify that environment variables are appropriately managed and utilized within the project. 3. Consider extending this standardized approach to other related projects like Tiki for better alignment. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:37:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1072
No description provided.