Skip to content

Provider a small fix for Symfony 2.7|2.8 with locale compose from PHP Intl extension.

Notifications You must be signed in to change notification settings

messi89/symfony-intl-infinite-loop-fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

symfony-intl-infinite-loop-fixer

Provider a small fix for Symfony 2.7|2.8 with locale compose from PHP Intl extension.

  • Install the package
composer require messi89/symfony-intl-infinite-loop-fixer
  • Exclude symfony original locale file from autoload
{
    "autoload": {
        "exclude-from-classmap": [
             "vendor/symfony/symfony/src/Symfony/Component/Intl/Locale.php"
        ]
    }
}
  • Now you can enable php intl again
phpenmod -v 7.2 intl 
service php7.2-fpm restart

Enjoy !

About

Provider a small fix for Symfony 2.7|2.8 with locale compose from PHP Intl extension.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages