2017 © Pedro Peláez
 

library carbon-fy

Carbon DateTime extension to determine fiscal year (FY)

image

rovangju/carbon-fy

Carbon DateTime extension to determine fiscal year (FY)

  • Wednesday, March 16, 2016
  • by rovangju
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,301 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 15 % Grown

The README.md

Carbon Extension: Fiscal Year (FY)

Build Status, (*1)


Don't reinvent the wheel on that funky date logic to determine what fiscal year it is, or what fiscal year something happened in. This simple package has your back!, (*2)

Overview

The ideal usage scenario would be to use a single instance of the calculator, as most organizations observe a single FY for their accounting., (*3)

Usage is pretty straight forward:, (*4)

Basic usage


use CarbonExt\FiscalYear\Calculator; $c = new Calculator(7, 1); /* FY starts on July 1 */ $c->get(new Carbon('2015-01-01')); /* 2015-06-29 */ $c->get(new Carbon('2015-07-01')); /* 2016-06-29 */

The Versions

16/03 2016

dev-master

9999999-dev

Carbon DateTime extension to determine fiscal year (FY)

  Sources   Download

GPLv2

The Requires

 

The Development Requires

carbon datetime fiscal year fy

19/02 2015

dev-develop

dev-develop

Carbon DateTime extension to determine fiscal year (FY)

  Sources   Download

GPLv2

The Requires

 

The Development Requires

carbon datetime fiscal year fy

19/02 2015

1.0.0

1.0.0.0

Carbon DateTime extension to determine fiscal year (FY)

  Sources   Download

GPLv2

The Requires

 

The Development Requires

carbon datetime fiscal year fy