This package exists because I am too lazy to write number_format(10.20, 2, '.', ' ')
when I need to display numbers. (I format using French notation)
composer require paulhenri-l/php-format-stat-number
The function will be autoloaded thanks to composer so you'll only have to call it.
fsn(10000.123); // 10 000,12