Download the PHP package postscripton/laravel-money without Composer
On this page you can find all versions of the php package postscripton/laravel-money. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download postscripton/laravel-money
More information about postscripton/laravel-money
Files in postscripton/laravel-money
Download postscripton/laravel-money
More information about postscripton/laravel-money
Files in postscripton/laravel-money
Vendor postscripton
Package laravel-money
Short Description Laravel Money is an open source package that provides you a convinient way to work with numbers from database with high precision and use them as monetary objects. With this package, you can easily operate, compare, format, and even convert monetary objects to other currencies using external API providers.
License MIT
Package laravel-money
Short Description Laravel Money is an open source package that provides you a convinient way to work with numbers from database with high precision and use them as monetary objects. With this package, you can easily operate, compare, format, and even convert monetary objects to other currencies using external API providers.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-money
Introduction
💵 Laravel Money is an open source package that provides you a convinient way to work with numbers from database with high precision and use them as monetary objects. With this package, you can easily operate, compare, format, and even convert monetary objects to other currencies using external API providers.
Upgrade guide
3.x
to4.x
Requirements
- PHP:
^8.1
guzzlehttp/guzzle
:^7.5
bcmath
extension
Installation
Publishing
Publish the config file through:
or
After all, the config file at config/money.php
should be modified for your own purposes.
Table of Contents
- ⏰ Quick start
- ✅ Usage
- 🧰 Creating
- 🖨️ Output
- 📄 Cloning
- 🎯 Casting
- 🚨 Validation rule
- 🎨️ Formatting
- 💲 Currencies
- Default currency
- Information
- Position
- Display
- Preferred symbol
- Collection methods
- 💵 Money
- 💲 Currency
- Static methods
Money::setFormatter()
Money::of()
Money::zero()
Money::parse()
Money::min()
Money::max()
Money::avg()
Money::sum()
- Object methods
- Getters
getAmount()
- Calculations
add()
subtract()
multiply()
divide()
rebase()
- Object manipulations
floor()
ceil()
absolute()
negate()
clone()
- Logical operations
- Comparing currencies
isNegative()
isPositive()
isZero()
lessThan()
lessThanOrEqual()
greaterThan()
greaterThanOrEqual()
equals()
- Converting to string
- Converting currencies
- Getters
- API rate exchangers
- Add your own
License
Laravel-money is an open-source library under the MIT license.
All versions of laravel-money with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-json Version *
ext-bcmath Version *
guzzlehttp/guzzle Version ^7.5
spatie/laravel-package-tools Version ^1.12
ext-json Version *
ext-bcmath Version *
guzzlehttp/guzzle Version ^7.5
spatie/laravel-package-tools Version ^1.12
The package postscripton/laravel-money contains the following files
Loading the files please wait ....