brefphp / bref

Serverless PHP on AWS Lambda
https://bref.sh
MIT License
3.05k stars 364 forks source link

PHP ext-intl is required on layer 8.3 #1798

Closed ArabAgile closed 2 months ago

ArabAgile commented 2 months ago

Description: Hello,

I am using 8.3 layer ${bref:layer.php-83}, and I got the below error when intl is required by some libraries:

The "intl" PHP extension is required to use the [currency] method. (View: /var/task/vendor/filament/tables/resources/views/columns/text-column.blade.php) (View:

How to reproduce:

in composer.json I have

 "require": {
        "bref/bref": "^2.1",
        "bref/extra-php-extensions": "^1.4",
        "filament/filament": "^3.2",
...
}
ArabAgile commented 2 months ago

My bad, intl extension is available , but needs to be enabled on customzed php.ini as mentioned here https://bref.sh/docs/environment/php#extensions-installed-but-disabled-by-default