rsanchez / Deep

A set of Eloquent models for ExpressionEngine Channel Entries.
http://rsanchez.github.io/Deep/
MIT License
51 stars 14 forks source link

Add a human readable filesize method the File #20

Open tobz-nz opened 9 years ago

tobz-nz commented 9 years ago

Because nicities.

rsanchez commented 9 years ago

What do you think about using a lib for getting human readable file size, like this one: https://github.com/coduo/php-humanizer

tobz-nz commented 9 years ago

Seems a bit overkill to me.

Ideally, this https://github.com/laravel/framework/pull/6459#issuecomment-63876375 will get merged and could then be used.

rsanchez commented 9 years ago

Oooh that would be ideal. I'll keep an eye on that pull.