Skip to content

Extensions to PHP's built-in `DateTime` and `DateTimeZone` classes

License

Notifications You must be signed in to change notification settings

bramus/php-datetime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bramus/datetime

Build Status Source Version Downloads License

bramus/datetime provides a few extensions to PHP's built-in DateTime and DateTimeZone classes.

Built by Bram(us) Van Damme (https://www.bram.us) and Contributors

Prerequisites/Requirements

  • PHP 7.2 or greater

Installation

Installation is possible using Composer

$ composer require bramus/datetime ~1.0

Usage

@TODO

Testing

bramus/datetime ships with unit tests using PHPUnit ~8.0.

  • If PHPUnit is installed globally run phpunit to run the tests.
  • If PHPUnit is not installed globally, install it locally throuh composer by running composer install --dev. Run the tests themselves by calling ./vendor/bin/phpunit or using the composer script composer test
$ composer test

License

bramus/datetime is released under the MIT public license. See the enclosed LICENSE for details.

About

Extensions to PHP's built-in `DateTime` and `DateTimeZone` classes

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages