SpellNumber

Release Notes

[4.2.0] - 2023-11-20

Added

Changed

To swiftly revert to title-formatted output, simply publish the configuration file:

php artisan vendor:publish --provider="Rmunate\\Utilities\\Providers\\SpellNumberProvider" --tag="config"

Then, locate the callback function and adjust the return statement in the configuration file:

return [
  //...
  'callback_output' => function ($data) {

    // Your logic here...

    return \Illuminate\Support\Str::title($data->getWords());
  }, 
]

[4.2.2] - 2023-11-28

Changed