For एप्लीकेशन एनवायरनमेंट वेरिएबल्स मैनेज करने के लिए एक टूल, the strongest matches are vlucas/phpdotenv (phpdotenv is a dedicated PHP library for loading and), jdx/mise (Mise is a development environment orchestrator that centrally manages) and bkeepers/dotenv (bkeepers/dotenv is the classic Ruby library for loading environment). theskumar/python-dotenv and caarlos0/env round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
ये ओपन-सोर्स यूटिलिटीज डेवलपर्स को विभिन्न एनवायरनमेंट में कॉन्फ़िगरेशन वेरिएबल्स को सुरक्षित रूप से स्टोर, इंजेक्ट और मैनेज करने में मदद करती हैं।
phpdotenv is a PHP environment variable loader and configuration parser. It reads key-value pairs from files and populates them into PHP system environment variables and global arrays to avoid hardcoding sensitive settings in code. The project includes a configuration variable interpolator to resolve nested references and variables within environment files. It also provides an environment variable validator to ensure required variables exist and match specific data types or values. The system covers application secret management, multi-environment deployment, and the parsing of raw configura
phpdotenv is a dedicated PHP library for loading and managing environment variables from .env files, supporting variable interpolation, validation, type coercion, multi-environment configurations, and secret management—directly matching this search for an environment variable management tool.
Mise is a development environment orchestrator that manages software runtimes, environment variables, and task execution. It functions as a version manager and task runner, providing a unified interface to synchronize project-specific configurations and dependencies across different machines. By automating the installation and switching of tools, it ensures that development environments remain consistent and reproducible. The project distinguishes itself through a hierarchical configuration system that automatically discovers settings by traversing the directory tree. It uses shim-based comma
Mise is a development environment orchestrator that centrally manages environment variables with features like file loading, templating, secret handling, and directory-scoped configurations, covering most of the requested capabilities for dev and deployment workflows.
Dotenv is a Ruby library used for loading key-value pairs from files into an application environment. It includes a configuration parser to extract variables into hashes and a loader to inject those pairs into the global environment. The project features a variable interpolator that resolves environment variables and shell command outputs within configuration values. It also provides a validator to verify that required configuration keys are present during application initialization. The toolset covers environment variable management, including the ability to generate configuration templates
bkeepers/dotenv is the classic Ruby library for loading environment variables from .env files, with built-in variable interpolation and required-key validation—it squarely fits the category but lacks built-in support for multiple environments, type coercion, or secret encryption that this search lists.
python-dotenv is a library and command line interface for managing environment variables in Python applications. It functions as a configuration parser and loader that reads key-value pairs from files and injects them into the system environment, enabling the decoupling of application configuration from source code. The project provides a command line interface for manipulating and editing environment variables within configuration files. It also includes a mechanism for recursive variable interpolation, allowing dynamic placeholders within configuration files to be resolved using existing en
python-dotenv is a Python library and CLI that loads key-value pairs from .env files and supports recursive variable interpolation, squarely fitting the need for managing environment variables, though it does not natively include type coercion or secret encryption.
env is a Go library that reads environment variables and populates the fields of a Go struct according to tag directives. It uses reflection to iterate over struct types and tags at runtime, mapping environment variable names to struct fields and applying parsing behavior defined in struct tags. The library supports required field validation, returning errors when marked fields are missing or empty after parsing. It also provides default value fallback from struct tags when environment variables are not set, environment variable expansion that recursively substitutes references within values,
caarlos0/env is a Go library that maps environment variables into struct fields with support for validation, default values, and variable expansion, so it squarely fits environment variable management — but it reads variables only from the OS environment, not from .env files, and lacks the multi-environment and encryption features you listed.
t3-env is a type-safe environment manager and schema validator for TypeScript. It maps environment variables to static types to provide autocompletion and prevents configuration errors through a system that verifies required variables are present and correctly formatted before an application starts. The project enforces strict variable scope to isolate server-side secrets from the client browser, preventing sensitive data from leaking into client-side bundles. It also provides configuration presets tailored to the naming conventions of specific hosting and deployment platforms. The library i
t3-env is a TypeScript-focused type-safe environment manager that validates and isolates environment variables, but it does not load from .env files or support variable expansion, so while it genuinely manages environment variables, it covers only some of the listed features.
godotenv is a Go library designed to load, parse, and serialize environment configuration files. It provides tools to extract configuration data from files into maps and inject those key-value pairs directly into the system environment of a Go application process. The project includes a configuration file serializer for exporting environment variable maps back into formatted files and a parser for extracting data without modifying the system environment. It supports injecting variables from strings or files into the process environment using priority-based overloading and overwriting. The li
joho/godotenv is a Go library that loads and injects environment variables from .env files into the process environment, directly fulfilling the core need of environment variable management, though it does not cover advanced features like variable expansion, multiple environments, or encryption out of the box.
Dotenv is a configuration management library designed to load environment variables from local files into the process environment. By separating application settings from source code, it enables developers to maintain consistent configurations across different deployment stages and team environments. The utility provides mechanisms to transform plain text configuration files into encrypted formats, allowing sensitive secrets to be stored securely within version control systems. It handles the parsing and normalization of key-value pairs, ensuring that configuration data is consistently proces
dotenv loads environment variables from .env files and supports secret encryption, directly covering the core loading and security needs, though it lacks built-in variable expansion, multi-environment support, and type coercion.
react-native-config is a cross-platform mobile environment manager and native build configuration tool. It implements twelve-factor app configuration principles by separating environment-specific settings from application code. The project provides a mechanism to inject environment variables directly into native project files and build settings during the compilation process. It further functions as a type-safe configuration loader that generates TypeScript definitions for environment variables to ensure autocompletion and safety. The tool manages multi-environment configurations by loading
react-native-config is a build-time environment variable manager for React Native that loads configuration from files and injects it into native builds, making it a genuine environment variable management tool though it is specialized for mobile development and lacks general-purpose features like secret encryption or directory-scoped loading.
direnv is a shell environment manager and directory-based environment loader that automatically loads and unloads environment variables when switching between directories. It functions as a shell hook automation tool, injecting logic into the shell configuration to trigger environment updates based on the current project context. The project acts as a development environment isolator by localizing shell configurations, which prevents dependency conflicts and removes project-specific exports from global profile files. It includes specialized integration for Nix, allowing the loading of environ
direnv is a directory-scoped environment variable loader that automatically loads and unloads variables per project, directly addressing the need to manage env vars across development workflows, though it lacks built-in type validation and secret encryption.
Environ is a Clojure library designed to manage application configuration by consolidating settings from environment variables, system properties, and local files into a single, unified map. It facilitates the externalization of application settings, supporting the practice of injecting environment-specific configurations at runtime to maintain code portability. The library distinguishes itself by implementing a global registry pattern that allows decoupled components to access configuration without passing state through the call stack. It performs automatic key normalization by converting un
Environ is a Clojure library for managing environment variables, which makes it the right kind of tool for this task, though it may not provide .env loading, variable expansion, or the other specific features you listed.
This project is a command-line utility that executes processes by injecting environment variables from local configuration files. It functions as a runtime wrapper, allowing developers to manage application settings and process execution contexts without modifying global system variables. The tool distinguishes itself by supporting dynamic configuration loading, which allows for the use of files that export objects or promises to compute values at runtime. It provides granular control over environment management, including the ability to group variables into named collections, protect existin
env-cmd is a command-line tool and library for loading environment variables from a file, directly matching the core need, though it lacks advanced features like multiple environments, type coercion, or built-in encryption.
| रिपॉजिटरी | स्टार्स | भाषा | लाइसेंस | अंतिम पुश |
|---|---|---|---|---|
| vlucas/phpdotenv | 13.5K | PHP | BSD-3-Clause | |
| jdx/mise | 29.9K | Rust | MIT | |
| bkeepers/dotenv | 6.8K | Ruby | MIT | |
| theskumar/python-dotenv | 8.8K | Python | BSD-3-Clause | |
| caarlos0/env | 6K | Go | mit | |
| t3-oss/t3-env | 3.8K | TypeScript | mit | |
| joho/godotenv | 10.5K | Go | MIT | |
| motdotla/dotenv | 20.3K | JavaScript | bsd-2-clause | |
| luggit/react-native-config | 5K | Java | MIT | |
| direnv/direnv | 15.2K | Go | MIT |