Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Directives Bundle Laravel Package

chiqui3d/php-directives-bundle

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Configuration Management: Centralize runtime PHP and locale directives (e.g., date.timezone, LC_MONETARY) in a single YAML config, reducing hardcoded values across environments (dev/staging/prod).
  • Environment-Specific Customization: Enable per-environment overrides (e.g., Europe/Madrid in staging vs. UTC in prod) via Symfony’s parameter bags or environment variables.
  • Build vs. Buy: Avoid reinventing a lightweight config system for PHP directives; leverage this bundle to reduce devops overhead.
  • Use Cases:
    • Multi-region apps needing locale-specific settings.
    • Compliance-heavy projects requiring strict timezone/date formats.
    • Microservices where directives must align across services (e.g., logging formats, error reporting).

When to Consider This Package

  • Adopt if:
    • Your Symfony app (4.4+) needs consistent PHP directives across environments.
    • You’re managing locale/timezone-sensitive features (e.g., financial apps, regional sites).
    • You prefer declarative config over runtime ini_set() calls or .htaccess tweaks.
  • Look elsewhere if:
    • You’re not using Symfony (package is Symfony-specific).
    • Your directives are static and environment-agnostic (no need for dynamic overrides).
    • You require advanced validation (e.g., schema checks for directive values) or runtime toggling (this bundle loads directives at boot).
    • The archived status concerns you (though MIT license allows forks).

How to Pitch It (Stakeholders)

Executives: "This bundle lets us standardize PHP settings (like timezones or currency formats) across all environments via a single config file—no more scattered .env hacks or manual server tweaks. It’s a 10-minute setup that saves ops time and reduces errors in multi-region deployments."

Engineering: "For Symfony teams, this replaces manual ini_set() calls with a clean YAML-based approach. Example: Define date.timezone once in config/packages/php_directives.yaml instead of in 50+ places. Works alongside Symfony’s existing config system, so no new tooling needed. Tradeoff: Archived repo (but MIT license means we can fork if needed)."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle