gordesch / cine-carbon
Custom Carbon class for French movie week (it starts on Wednesdays)
v1.2.1
2020-12-27 20:33 UTC
Requires
- php: ^7.2|^8.0
- nesbot/carbon: ^2.28
Requires (Dev)
- phpunit/phpunit: ^8.0|^9.0
This package is auto-updated.
Last update: 2024-10-28 05:14:29 UTC
README
Cine-Carbon
A custom Carbon class to provide a french movie week locale (it starts on wednesdays).
Installation
$ composer require gordesch/cine-carbon:^1.0.0
Usage
use Gordesch\CineCarbon; CineCarbon::now()->startOfWeek()->dayOfWeek; // 3 (Wednesday) CineCarbon::now()->programmingWeek(); // i.e. "2019-03"
License
The MIT License (MIT). Please see License File for more information.