php-standard-library/env
Tiny PHP utility for reading environment variables with sensible defaults and type casting. Helps centralize access to config via env(), supports required keys, fallback values, and safe handling when variables are missing or empty.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/php-standard-library | 0.89 | PSL (PHP Standard Library) is a well-typed, centralized API set for PHP 8.4+ covering async, collections, networking, I/O, crypto, terminal UI, and more. It replaces unsafe PHP primitives with predictable, async-ready alternatives and includes composable type-safe validation. | 1,561 | 1,562 | 91 | 305K | 22 | 42.0 | 44.4 | MIT | 3 months ago | |
| dontdrinkandroot/common | 0.85 | A small utility library with commonly used PHP helpers and extensions, including a PHPStan extension. Intended to provide shared building blocks for projects, with CI and code quality tooling support via SonarCloud badges. | 0 | 0 | 0 | 79 | 0 | 1.8 | 26.3 | Apache-2.0 | 2 years ago | |
| atournayre/dotenv-updater-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 3 years ago | |
| open-southeners/extended-php | 0.85 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 837 | 0 | 11.0 | 41.7 | MIT | 10 months ago | |
| syamsoul/laravel-set-env | 0.84 | Programmatically set, update, and read Laravel .env variables with a simple facade and CLI. Supports comments, precise placement, and multiple env files (.env, .env.example). Includes production safety checks for secure environment configuration management. | 9 | 9 | 7 | 1K | 0 | 13.8 | 31.2 | — | 6 months ago | |
| mykehowells/dotenv | 0.84 | Load and manage environment variables in PHP/Laravel using .env files. Simple API for reading config values across local, staging, and production setups, making it easy to keep secrets and per-environment settings out of code. | 2 | 2 | 0 | 2 | 0 | 0.9 | 3.1 | — | 10 years ago | |
| avris/dotenv | 0.84 | Tiny PHP dotenv loader for reading .env files and injecting variables into the environment, $_ENV, and $_SERVER. Supports common KEY=VALUE syntax, quotes, comments, and safe defaults to keep config out of code and VCS. | 0 | 1 | — | 0 | — | 0.0 | — | — | — | |
| ctrl-f5/ctrl-common | 0.84 | Shared utilities and helpers for the Ctrl-F5 ecosystem: common PHP/Laravel components, small abstractions, and reusable support code used across multiple packages and apps. Intended as a lightweight foundation dependency. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| symfony/dotenv | 0.83 | Symfony Dotenv parses .env files and loads variables into $_ENV/$_SERVER for local development and configuration. Supports loading multiple files, overriding existing vars, and environment-specific .env.local/.env.$APP_ENV settings. | 3,788 | 3,819 | 28 | 6M | 0 | 53.7 | 51.2 | MIT | 1 month ago | |
| connectholland/env-var-loader-bundle | 0.82 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| vizrex/laravel-env-switcher | 0.82 | — | 1 | 1 | 2 | 0 | 0 | 0.1 | — | NOASSERTION | — | |
| snoopycodex/laravel-set-env-fork | 0.82 | Laravel package fork to set or update environment variables in your .env file at runtime. Useful for installers, admin panels, and setup flows that need to persist config changes (APP_URL, DB settings, etc.) without manual editing. | 1 | 1 | 0 | 0 | 0 | 0.3 | — | — | 3 years ago | |
| sebastian/environment | 0.82 | sebastian/environment helps PHP libraries handle runtime-specific execution paths by detecting and describing the current environment (PHP version, features, etc.). Useful for writing portable code that adapts to different runtimes and configurations. | 6,766 | 6,788 | 36 | 15M | 1 | 47.3 | 53.1 | BSD-3-Clause | 3 months ago | |
| jackiedo/dotenv-editor | 0.81 | Edit Laravel .env files safely with a fluent API: read raw content and parsed entries, add/update/delete keys, manage comments and export flags, insert empty/comment lines, check key existence, and create/restore backups with configurable storage. | 204 | 207 | 66 | 16K | 4 | 9.4 | 28.5 | MIT | 3 years ago | |
| c0ntax/env-providers-bundle | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | Apache-2.0 | — | |
| vlucas/phpdotenv | 0.79 | vlucas/phpdotenv loads environment variables from a .env file into getenv(), $_ENV, and $_SERVER. Ideal for keeping secrets out of code and managing per-environment configuration in PHP apps via simple, portable dotenv files. | 13,550 | 13,829 | 663 | 15M | 2 | 70.1 | 53.2 | BSD-3-Clause | 4 weeks ago | |
| php-standard-library/filesystem | 0.78 | Type-safe filesystem helpers for PHP with consistent exception handling. Provides safer wrappers for common file and directory operations, aiming for clearer intent and fewer runtime surprises. Part of the PHP Standard Library ecosystem. | 1 | 1 | 0 | 32K | 0 | 16.3 | 62.5 | MIT | 3 months ago | |
| php-standard-library/locale | 0.77 | PHP Standard Library Locale component providing locale-aware formatting and parsing utilities. Helps handle language/region settings, localized dates, numbers, and other internationalization tasks in PHP apps with a lightweight, straightforward API. | 1 | 1 | 0 | 41K | 0 | 17.1 | 62.8 | MIT | 3 months ago | |
| php-standard-library/shell | 0.76 | Execute shell commands safely in PHP with built-in argument escaping and controlled handling of stdout/stderr. Part of PHP Standard Library, providing a simple API for running processes, capturing error output, and managing failures predictably. | 0 | 0 | 0 | 11K | 0 | 16.5 | 62.6 | MIT | 3 months ago | |
| php-standard-library/os | 0.75 | Type-safe OS detection for PHP via an OperatingSystemFamily enum. Quickly identify Windows, macOS, Linux, and more without brittle string checks. Part of PHP Standard Library; lightweight and focused on reliable environment detection. | 0 | 0 | 0 | 153 | 0 | 17.0 | 34.3 | MIT | 3 months ago |
How can I help you explore Laravel packages today?