awesome-helpers
awesome-helpers copied to clipboard
Utilize Laravel's getLocale method
Laravel's config/app.php configuration file allows users to specify a locale, however these settings are ignored when using the money() helper as it is reaching for the PHP locale instead. This PR switches to Laravel's app()->getLocale() method.