chiqui3d / php-directives-bundle
A small and simple Bundle in Symfony to add PHP directives for your project
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.1
- symfony/config: ^4.4|^5.0
- symfony/dependency-injection: ^4.4|^5.0
- symfony/yaml: ^4.4|^5.0
This package is auto-updated.
Last update: 2022-03-01 00:33:01 UTC
README
A small and simple Bundle in Symfony to add PHP directives for your project
Directives documentation
PHP => https://www.php.net/manual/en/ini.list.php
Locale => https://www.php.net/manual/en/function.setlocale.php
Requirements
- Symfony 4.4 or sup.
Installation
composer require chiqui3d/php-directives-bundle
Check that the bundle appears in config/bundles.php
PHPDirectivesBundle\PHPDirectivesBundle::class => ['all' => true],
Adding directives
config/packages/php_directives.yaml
These directives will be loaded into any part of your project.
php_directives: php: date.timezone: Europe/Madrid locale: LC_MONETARY: es_ES
License
This package is available under the MIT license.