We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eec4d92 commit dc6dd20Copy full SHA for dc6dd20
README.md
@@ -74,13 +74,15 @@ $m1->format();
74
### Helpers
75
76
```php
77
+money(500)
78
money(500, 'USD')
79
currency('USD')
80
```
81
82
### Blade Directives
83
84
85
+@money(500)
86
@money(500, 'USD')
87
@currency('USD')
88
@@ -90,6 +92,8 @@ currency('USD')
90
92
Same as the directive, there is also a `blade` component for you to create money and currency in your views:
91
93
94
```html
95
+<x-money amount="500" />
96
+or
97
<x-money amount="500" currency="USD" />
98
or
99
<x-money amount="500" currency="USD" convert />
0 commit comments