Torann / laravel-currency

This provides Laravel with currency functions such as currency formatting and conversion using up-to-date exchange rates.
http://lyften.com/projects/laravel-currency
BSD 2-Clause "Simplified" License
390 stars 138 forks source link

BETTER DOCUMENTATION FOR ABSOLUTES #162

Open MotionPhix opened 1 year ago

MotionPhix commented 1 year ago

I am kind of guessing the package is dope, but I haven't been able to use it. I have installed it and published the config but still nothing works. I tried doing $currency = new currency(); but then I get too few arguments passed to the currency constructor and even when I do $curriencies = currency()->getCurrencies() I get Too few arguments to function currency(), 0 passed in C:\laragon\www\boards\app\Actions\Dashboard\DashboardList.php on line 48 and exactly 1 expected. I don't know if it's me but If the documentation could be improved to actually show where to import the currency() from or if not using that where you can actually get the class plus all the setup, that would help. The current documentation kind of feels like it's for someone who already knew about the package, and just wanted to pick it up from where they had left it. It's even intimidating, to begin with. I can't get anything to work.