![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2020-02-17 (5 months ago) ![]() | Not yet rated by the users | Total: 26 | All time: 9,966 This week: 257![]() |
Version | License | PHP version | Categories | |||
laravel-readable 1.0.0 | Custom (specified... | 5 | PHP 5, Text processing, Data types |
Description | Author | |
This package can be used to format numbers, dates, times to be human readable. |
Install the latest version using Composer:
$ composer require raggitech/laravel-readable
Readable has the following methods & directives: - ReadableNumber() - ReadableHumanNumber() - ReadableDecimal() - ReadableDate() - ReadableTime() - ReadableDateTime() - ReadableDiffDateTime() - ReadableTimeLength() - ReadableDateTimeLength() - ReadableSize()
<a name="ReadableNumber"></a>
<a name="ReadableHumanNumber"></a>
<a name="ReadableDecimal"></a>
<a name="ReadableDate"></a>
> $date = '24-04-2020' || Carbon Instance
<a name="ReadableTime"></a>
> $time = '15:20:22' || Carbon Instance
<a name="ReadableDateTime"></a>
> $datetime = '24-04-2020 17:20:32' || Carbon Instance
<a name="ReadableDiffDateTime"></a>
> $oldDateTime = '24-04-2020 17:20:32' || Carbon Instance > $newDateTime = '24-04-2020 17:20:32' || Carbon Instance || null (now)
<a name="ReadableTimeLength"></a>
<a name="ReadableDateTimeLength"></a>
> $oldDateTime = '24-04-2020 17:20:32' || Carbon Instance > $newDateTime = '24-04-2020 17:20:32' || Carbon Instance || null (now)
<a name="ReadableSize"></a>
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Doc. | Documentation |
![]() |
/ | src |
File | Role | Description |
---|---|---|
![]() ![]() |
Aux. | Auxiliary script |
![]() |
Class | Class source |
![]() |
Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.