Skip to content

Releases: rnr1721/currency-service

Changed currency rates handling

22 Feb 17:28
536044c

Choose a tag to compare

Changed currency rates handling: rates are now stored as "amount of base currency for one unit of other currency". Provider now returns rates in the same format.

Di support in currency providers

22 Feb 14:18
79ad357

Choose a tag to compare

Merge pull request #2 from rnr1721/dev

feature: use Di on making currency provider instance

Add validations and optimizations

30 Jan 16:58
1077501

Choose a tag to compare

Merge pull request #1 from rnr1721/dev

Add validations

First working version og Laravel Currency Service

30 Jan 15:06

Choose a tag to compare

Laravel Currency Service - v1.0.0

We are excited to announce the first release of Laravel Currency Service! This package provides a robust and flexible solution for managing currencies in your Laravel applications. From currency conversion to historical rate tracking, this service is designed to simplify and streamline currency management for both small and large projects.
Key Features

Currency Conversion: Convert between currencies with configurable precision and rounding modes.
Customizable Currency Formatting: Tailor how currency values are displayed (decimal places, separators, and position of the currency symbol).
Exchange Rate Management: Easily manage exchange rates, with support for multiple providers (including TestRateProvider and OpenExchangeRates).
Historical Rate Tracking: Track and store historical exchange rates for future analysis.
Advanced Caching: Optimized caching to ensure fast access to currency data.
SOLID Architecture: Built following SOLID principles, ensuring flexibility, scalability, and maintainability.
Seamless Laravel Integration: Full compatibility with Laravel, making it easy to integrate into your existing projects.

What’s New

Initial release with basic currency management features.
Full support for Laravel 10.x and PHP 8.1+.
Easy configuration and setup via Laravel’s built-in publishing commands.
Detailed documentation to help you get started quickly.

Getting Started

To install the package:

composer require rnr1721/currency-service

Publish the configuration:

php artisan vendor:publish --tag=currency-config

Run migrations:

php artisan migrate

Future Enhancements

This is just the beginning! Future versions will include new features like enhanced rate synchronization, additional rate providers, and more detailed historical reporting.

This release is a solid foundation for your currency management needs, and we look forward to making it even better with future updates!

Full Changelog: https://github.com/rnr1721/currency-service/commits/1.0.0