vortex-php/config 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vortex-php/config

Composer 安装命令:

composer require vortex-php/config

包简介

A simple config library to managing application config variables

README 文档

README

PHP Version License

A lightweight PHP configuration library for PHP, JSON, YAML, and .env files, supporting nested keys, strict mode, and memory-resident usage.
Designed to be Swoole-friendly for long-running processes.

Features

  • Load configuration from PHP, JSON, YAML, and .env files
  • Supports nested keys (database.connections.mysql.host)
  • Strict mode to throw exceptions on missing keys
  • Memory-resident, safe for Swoole long-running processes
  • PSR-12 / PHP 8.1+ ready
  • Lightweight and framework-agnostic

Requirements

  • PHP 8.1 or higher
  • Optional extensions:
    • ext-yaml for YAML support
    • ext-json for JSON support

Installation

Install via Composer:

composer require vortex-php/config

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-11-20