What is the best place to run ini_set
function (to set the whole application value in runtime) in the Laravel application?
edited:
The goal is to set bcmath.scale
value, but eliminate the need for all project developers to touch php.ini in theirs local environments.
You have to put it on the following path:
App\Providers\AppServiceProvider
on boot function
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With