9 个仓库
Validating that required environment variables are present and match specific criteria.
Distinct from Environment Variable Configuration: Specific to environment variables rather than general command-argument or schema validation
Explore 9 awesome GitHub repositories matching development tools & productivity · Environment Variable Validation. Refine with filters or upvote what's useful.
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
Checks that required variables are present and match specific criteria like data types or allowed values.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Validates environment variables and configuration files against schemas to detect setup errors.
Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with runtime data validation, allowing users to define type-safe schemas that ensure unknown data adheres to specific structures during application execution. The project distinguishes itself by using set-theory type analysis to determine intersections and subtype compatibility, alongside JIT-compiled validation functions for optimized performance. It supports advanced type modeling through branded type constraints, recursive alias resolution, and the ability to generate runtime valida
Parses values from environment sources against a schema to produce type-safe objects with automatic conversions.
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,
Marks a field as required or non-empty, causing an error if the variable is missing or blank.
envconfig is a Go configuration decoder and environment variable mapper that deserializes environment variables into structured Go data types. It provides tools for validating mandatory fields and ensuring application configuration adheres to the external configuration patterns of twelve-factor app compliance. The library features a help generator that creates formatted usage text based on struct definitions to describe expected environment variables. It also includes a validation tool capable of detecting unused environment variables that match a specific prefix but do not correspond to any
Ensures that required environment variables are present and correctly formatted before the application starts.
该项目是一个 PHP 用户代理(User Agent)解析器和移动设备检测器。它分析 HTTP 用户代理字符串以识别访问者的 Web 浏览器、操作系统和设备类型。 该库为 Laravel Web 框架提供了专门的集成。它能够区分手机、平板电脑和台式计算机,同时识别 Web 机器人和搜索引擎爬虫的具体名称。 该工具的功能包括从请求头中提取首选语言并验证特定的用户代理属性。它使用正则表达式模式匹配和静态数据映射来分类客户端并进行内容本地化。
Verifies that required environment variables exist and match a defined schema during build time.
该项目是一个跨平台移动端项目模板和 TypeScript 样板,专为使用 Expo 生态系统引导 React Native 应用而设计。它提供了一个预配置的架构和标准化的文件夹结构,以加速初始开发。 该模板的独特之处在于其基于功能的项目架构和全面的自动化套件。它集成了用于导航的基于文件的路由、用于样式的实用优先(utility-first)移动端 UI 库,以及用于获取和缓存远程 API 数据的服务端状态管理层。该设置包括使用 GitHub Actions 和 EAS 的移动端 CI/CD 流水线,以自动化构建、测试和分发应用二进制文件。 更广泛的功能面涵盖了基于模式的表单验证、用于会话持久化的加密本地存储,以及带有翻译文件验证的多语言本地化。它还整合了质量强制工具,包括用于 Lint 和类型检查的 git hooks,以及自动化的单元测试和端到端 UI 测试。
Implements schema-based checking of environment variables to ensure all required configurations are present.
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
Validates that required environment variables are present and correctly formatted before the application starts.
actionlint is a static analysis tool and linter specifically designed for GitHub Actions workflow files. It functions as a CI workflow validator and YAML configuration linter to ensure the syntax and logic of automation files are correct before deployment. The project distinguishes itself by performing deep security auditing and script analysis. It includes a shell script auditor to detect syntax bugs and script injection vulnerabilities in inline commands, and it scans for hardcoded credentials to prevent security leaks. The tool covers a broad range of validation capabilities, including ex
Ensures environment variable names do not contain invalid characters like equals signs or spaces.