PHP code example of codewithdiki / filament-money
1. Go to this page and download the library: Download codewithdiki/filament-money library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
codewithdiki / filament-money example snippets
return [
'currency' => 'IDR',
'decimal_places' => 2
];
use CodeWithDiki\FilamentMoney\Forms\Components\Money;
Money::make("price")
bash
php artisan vendor:publish --tag="filament-money-config"
bash
php artisan vendor:publish --tag="filament-money-views"