pandawan-technology / money-bundle
Integrates moneyphp/money into Symfony' applications
Installs: 65
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/pandawan-technology/money-bundle
Requires
- pandawan-technology/money: dev-main
- symfony/config: ^4.4||^5.0||^6.0
- symfony/dependency-injection: ^4.4||^5.0||^6.0
- symfony/http-kernel: ^4.4||^5.0||^6.0
Requires (Dev)
- friendsofphp/php-cs-fixer: dev-master
- phpunit/phpunit: 9.5.x-dev
This package is auto-updated.
Last update: 2025-09-23 17:57:02 UTC
README
- PHP 8.0 attributes' support
- automaticaly add Form type
- automaticaly add DB types for mapping (doctrine only):
amount
andcurrency
columns' mappings
Usage
doctrine's mapping:
<?php namespace App\Entity; use Doctrine\ORM\Mapping as ORM; use PandawanTechnology\Money\Model\Money; #[ORM\Entity] class Product { #[ORM\Embedded(class: Money::class)] private $price; }