Download the PHP package sfneal/time-helpers without Composer
On this page you can find all versions of the php package sfneal/time-helpers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sfneal/time-helpers
More information about sfneal/time-helpers
Files in sfneal/time-helpers
Package time-helpers
Short Description PHP time utilities for converting time values & creating time periods
License MIT
Homepage https://github.com/sfneal/time-helpers
Informations about the package time-helpers
Time Helpers
PHP time utilities for converting time values & creating time periods
Installation
You can install the package via composer:
Usage
Carbonate
Carbonate can be used to retrieve Carbon objects transformed from today's datetime. This is useful for getting a Carbon object that represents a datetime in the past or future.
TimeConverter
TimeConverter is used to convert between different units of time (hours, minutes & seconds).
TimePeriod
TimePeriod is used to retrieve a start & end datetime for a period of time (like today, last month, etc). This can be useful when creating time scoped queries, like collecting all the orders from last month.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Stephen Neal
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
PHP Package Boilerplate
This package was generated using the PHP Package Boilerplate.