otobul/epaybg-bundle
An integration bundle for the ePay.bg payment gateway, aimed at PHP applications that need to accept ePay.bg payments. It provides package wiring for merchant configuration and payment processing. Small, low-adoption package; review fit and maintenance before use.
composer require vendor/package) and let Laravel auto-discovery register the service provider.php artisan vendor:publish --tag=currency-config. You will get config/currency.yaml instead of the old config/currency.php.symfony/yaml by default; if the package does not require it, add composer require symfony/yaml.EUR; override it in config/currency.yaml (default: EUR) or via the package's env variable (commonly CURRENCY_DEFAULT) if supported by the service provider.Currency::format(1234.56) → €1,234.56 depending on locale. Check the facade/service class in the package README for the exact entry point.config/currency.yaml, the package service provider (to see how YAML is loaded and env overrides are applied), and the v2 upgrade guide.@currency($amount)). Keep raw monetary values as integers/minor units where possible.in: rule only if you maintain a custom allow-list.currency column on users/accounts, then set the active currency per request via middleware or a model accessor. Do not rely on the global default for multi-tenant apps.php artisan config:cache in deployment; avoid reading the YAML file at runtime in application code.config(['currency.default' => 'USD']) in test setup. If the package exposes a formatter, assert exact output including separators and symbol placement.config/currency.php so it is not accidentally loaded.config/currency.php. Existing customizations will silently disappear until you migrate them to config/currency.yaml. Diff the old file against the published YAML before deleting anything.EUR. Upgrading apps that assumed USD will change formatting and potentially stored/displayed values. Explicitly set the default in YAML or env to preserve behavior.Class "Symfony\Component\Yaml\Yaml" not found error means symfony/yaml is missing. Add it to composer.json.currency.yaml, run php artisan config:clear locally and php artisan config:cache in deployment. With Octane, restart workers after config changes.CURRENCY_DEFAULT in .env can mask your YAML default and cause confusion.php artisan tinker and inspect config('currency'). If it is empty or missing keys, the YAML was not loaded—check the service provider and file permissions.How can I help you explore Laravel packages today?