gordesch/cine-carbon-mixin

This package is abandoned and no longer maintained. The author suggests using the gordesch/cine-carbon package instead.

Carbon Mixin for French movie week (it starts on Wednesdays)

v1.1.0 2019-05-05 23:39 UTC

This package is auto-updated.

Last update: 2020-01-14 14:37:13 UTC


README

Build Status License: MIT Packagist

Cine-Carbon-Mixin

A mixin for Carbon to provide a french movie week locale (it starts on wednesdays).

Installation

$ composer require gordesch/cine-carbon-mixin:^1.0.0

Usage

Carbon::mixin(new \Gordesch\CineCarbonMixin());
Carbon::now()->cine()->startOfWeek()->dayOfWeek;     // 3 (Wednesday)

License

The MIT License (MIT). Please see License File for more information.