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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 38 | 0 | 1.8 | 22.0 | 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 | 82 | 0 | 15.2 | 28.4 | MIT | 7 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 | 2K | 0 | 18.4 | 35.0 | — | 3 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 | 1 | 0 | 0.9 | 1.7 | — | 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 | — | — | — | |
| php-standard-library/php-standard-library | 0.84 | PSL is a modern standard library for PHP 8.4+, inspired by HHVM’s HSL. It offers consistent, well-typed APIs for async, collections, I/O, networking, crypto, terminal UI, and more—safer alternatives to built-ins with predictable errors and async-ready design. | 1,543 | 1,544 | 87 | 254K | 21 | 46.2 | 44.0 | MIT | 2 weeks ago | |
| 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 | 3 | 0 | 0.0 | 8.3 | — | — | |
| connectholland/env-var-loader-bundle | 0.82 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| vizrex/laravel-env-switcher | 0.82 | — | 0 | 1 | — | 0 | — | 0.1 | — | — | — | |
| sebastian/environment | 0.82 | sebastian/environment helps PHP developers detect runtime details (PHP vs HHVM, OS, architecture, 32/64-bit, debugging extensions) to choose runtime-specific execution paths. Commonly used by testing tools to adapt behavior to the environment. | 6,776 | 6,786 | 37 | 13M | 1 | 51.9 | 53.9 | BSD-3-Clause | 1 week ago | |
| 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 | — | — | 2 years 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. | 0 | 206 | — | 20K | — | 8.8 | 27.0 | — | — | |
| c0ntax/env-providers-bundle | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | Apache-2.0 | — | |
| php-standard-library/type | 0.79 | Runtime type validation for PHP using “Parse, Don’t Validate”: coerce and assert unstructured input into well-typed data. Useful for APIs, configs, and user input with clear parsing rules, assertions, and predictable failures. | 1 | 1 | 0 | 31K | 0 | 21.2 | 64.8 | MIT | 2 weeks ago | |
| 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,541 | 13,818 | 658 | 12M | 14 | 64.5 | 49.7 | BSD-3-Clause | 5 months ago | |
| php-standard-library/filesystem | 0.78 | Type-safe filesystem utilities for PHP Standard Library. Perform common file and directory operations with consistent APIs and proper exception handling, improving safety and clarity over raw PHP functions. Documentation and contribution links included. | 1 | 1 | 0 | 21K | 0 | 21.2 | 64.9 | MIT | 2 weeks 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 | 28K | 0 | 21.2 | 64.9 | MIT | 2 weeks ago | |
| php-standard-library/shell | 0.76 | Execute shell commands safely in PHP with robust argument escaping, clear capture of stdout/stderr, and helpful error handling. Part of PHP Standard Library, designed for predictable command execution and output management across environments. | 0 | 0 | 0 | 12K | 0 | 21.2 | 64.9 | MIT | 2 weeks ago | |
| php-standard-library/file | 0.76 | Typed PHP file handles for safe reading and writing, with explicit write modes and advisory locking. Part of PHP Standard Library, aiming for clear, reliable filesystem I/O primitives suitable for applications and reusable packages. | 1 | 1 | 0 | 27K | 0 | 21.2 | 64.9 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?