ang3/money-bundle

Integration of brick/money for Symfony apps.

Installs: 65

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-main 2023-06-08 16:41 UTC

This package is auto-updated.

Last update: 2024-04-08 18:23:06 UTC


README

Code Quality PHPUnit Tests Symfony Bundle Latest Stable Version Latest Unstable Version Total Downloads

This bundle integrates the package brick/money into your Symfony apps. It provides Doctrine types, form types and others features to manage money and currency inside your project.

Installation

Step 1: Download the Bundle

Open a command console, enter your app directory and execute the following command to download the latest stable version of this bundle:

$ composer require ang3/money-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Configure the bundle

Create the file config/packages/ang3_money.yaml, and add the contents below:

# config/packages/ang3_money.yaml
ang3_money: ~

Usage

Money integration

Doctrine

Embedded entity

...

Forms

...

Validators

...

Normalizers

...

Twig

...

Services

Exchanger

...

That's it!