PHPackages                             sebastiansulinski/laravel-currency - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sebastiansulinski/laravel-currency

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

sebastiansulinski/laravel-currency
==================================

Currency component for Laravel 9+

v3.2.1(4mo ago)98.7k9[1 issues](https://github.com/sebastiansulinski/laravel-currency/issues)MITPHPPHP ^8.1

Since Dec 13Pushed 4mo ago3 watchersCompare

[ Source](https://github.com/sebastiansulinski/laravel-currency)[ Packagist](https://packagist.org/packages/sebastiansulinski/laravel-currency)[ RSS](/packages/sebastiansulinski-laravel-currency/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (4)Versions (19)Used By (0)

Currency component for Laravel 9
================================

[](#currency-component-for-laravel-9)

> **Warning**This package is deprecated and no longer maintained.

Installation
------------

[](#installation)

Install the package using composer

```
composer require sebastiansulinski/laravel-currency

```

### Service Provider and Facade

[](#service-provider-and-facade)

To use the package with the IOC Container, add its `SSD\Currency\CurrencyServiceProvider` to the list of providers inside of the `config/app.php` under the `providers`:

```
'providers' => [
    ...

    SSD\Currency\CurrencyServiceProvider::class

]
```

To use it as a Facade, add it under the `aliases`:

```
'aliases' => [
    ...

    'Currency'  => SSD\Currency\CurrencyFacade::class
]
```

now run:

```
php artisan vendor:publish
```

This will add a new file `config/currency.php` with the following structure:

```
