Download the PHP package swisnl/date-range without Composer
On this page you can find all versions of the php package swisnl/date-range. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swisnl/date-range
More information about swisnl/date-range
Files in swisnl/date-range
Package date-range
Short Description A PHP package for manipulating date ranges.
License MIT
Homepage https://github.com/swisnl/date-range
Informations about the package date-range
Date Range
This PHP package provides classes for immutable objects to represent date ranges and methods to manipulate them.
Installation
You can install the package via composer:
Usage
Swis\DateRange\DateRange is the main class to represent a date range. It is an immutable object that has a start and
end date (both optional to support open ended ranges), and provides methods to manipulate the range. Because
manipulating date ranges can easily lead to multiple separate date ranges, the package also provides a
Swis\DateRange\DateRangeSet class to represent a collection of date ranges. This class also provides methods to
manipulate set of date ranges. Both classes are immutable, so any manipulation will return a new instance of the class.
For all the available methods, please refer to the PHPDoc documentation in the source code.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
SWIS ❤️ Open Source
SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.
All versions of date-range with dependencies
illuminate/collections Version ^9.0|^10.0|^11.0|^12.0
illuminate/contracts Version ^9.0|^10.0|^11.0|^12.0
nesbot/carbon Version ^2.71|^3.0