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/foundation | 0.83 | A lightweight PHP foundation library offering common building blocks and utilities to bootstrap projects. Provides reusable helpers and core abstractions to reduce boilerplate and standardize patterns across apps and packages. | 1 | — | 0 | — | 0 | 20.0 | — | MIT | 2 weeks ago | |
| symfony/dotenv | 0.82 | Symfony Dotenv reads .env files and loads variables into PHP’s environment, exposing them via $_ENV and $_SERVER. Supports loading multiple files, overriding existing vars, and environment-specific .env.local/.env.$APP_ENV variants. | 3,798 | 3,826 | 30 | 5M | 0 | 51.3 | 50.8 | MIT | 1 week ago | |
| php-standard-library/php-standard-library | 0.82 | 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,513 | 1,512 | 83 | 63K | 19 | 44.7 | 34.2 | MIT | 2 weeks ago | |
| composer/metadata-minifier | 0.82 | Utility library for Composer 2.x repository metadata. Minifies package version arrays into diffs and expands minified metadata back to the original structure, reducing JSON size and improving transfer efficiency. Includes simple static minify/expand APIs. | 181 | 183 | 4 | 2M | 0 | 21.3 | 65.0 | MIT | 5 years ago | |
| sebastian/environment | 0.81 | Runtime environment helper for PHP projects. Detects PHP/HHVM runtime specifics so you can choose safe execution paths, handle version and platform differences, and write portable code with minimal conditionals—useful in libraries and test tooling. | 6,776 | 6,790 | 37 | 13M | 2 | 50.5 | 53.8 | BSD-3-Clause | 4 days ago | |
| laravel-lang/config | 0.81 | Laravel Lang: Config provides configuration resources for the Laravel Lang ecosystem, making it easier to integrate and manage language-related settings in Laravel apps. Maintained by the Laravel Lang community and distributed via Composer under MIT. | 6 | 6 | 0 | 353K | 0 | 29.6 | 65.0 | MIT | 3 weeks ago | |
| vlucas/phpdotenv | 0.80 | 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,530 | 13,808 | 657 | 11M | 14 | 73.3 | 53.7 | BSD-3-Clause | 3 months ago | |
| spiral/config | 0.79 | Spiral Config provides a flexible configuration system for Spiral apps. Load, merge, and access settings from multiple sources with a clean API, supporting layered environments and structured config classes for predictable, testable application configuration. | 2 | 2 | 1 | 4K | 0 | 22.4 | 50.2 | MIT | 6 years 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 | 0 | 0 | 5K | 0 | 20.6 | 55.8 | 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 | 0 | 0 | 11K | 0 | 20.6 | 60.5 | MIT | 2 weeks ago | |
| php-standard-library/type | 0.76 | 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 | 0 | 0 | 12K | 0 | 20.6 | 61.3 | 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 | 3K | 0 | 20.6 | 57.1 | MIT | 2 weeks 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 | 2K | 0 | 20.6 | 52.6 | MIT | 2 weeks ago | |
| php-standard-library/file | 0.75 | 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 | 0 | 0 | 9K | 0 | 20.6 | 59.7 | MIT | 2 weeks ago | |
| php-standard-library/fun | 0.75 | Functional programming utilities for PHP: compose and pipe callables, decorate functions, and control execution (memoize, throttle, debounce, retry, etc.). Part of PHP Standard Library with focused, reusable helpers for cleaner functional-style code. | 1 | 0 | 0 | 3K | 0 | 20.6 | 51.3 | MIT | 2 weeks ago | |
| php-di/php-di | 0.74 | PHP-DI is a practical, powerful, framework-agnostic dependency injection container for PHP. It helps manage services and wiring with autowiring and flexible configuration, making applications easier to build, test, and maintain across any framework. | 2,779 | 2,857 | 324 | 2M | 56 | 69.2 | 74.5 | MIT | 7 months ago | |
| php-standard-library/default | 0.74 | Provides a DefaultInterface for PHP classes to expose standardized “default” instances. Helps ensure consistent default construction across libraries and apps with a simple, shared contract. | 1 | 0 | 0 | 9K | 0 | 20.6 | 59.5 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?