PHPackages                             roussks/financial-year-carbon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. roussks/financial-year-carbon

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

roussks/financial-year-carbon
=============================

This is the Carbon Adapter implementation of roussks/financial-year library.

v1.1.0(6y ago)163MITPHPPHP ^7.1CI failing

Since Sep 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/RoussKS/financial-year-carbon)[ Packagist](https://packagist.org/packages/roussks/financial-year-carbon)[ RSS](/packages/roussks-financial-year-carbon/feed)WikiDiscussions develop Synced yesterday

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

\\RoussKS\\FinancialYear\\CarbonAdapter - Carbon Adapter for RoussKS Financial Year PHP Library
===============================================================================================

[](#roussksfinancialyearcarbonadapter---carbon-adapter-for-roussks-financial-year-php-library)

[![Latest Version](https://camo.githubusercontent.com/18435b4170c4f3c138f16e1714f3b508b2d41b2fc414b5fefdd27fed5d8d2bd5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f526f7573734b532f66696e616e6369616c2d796561722d636172626f6e2e7376673f7374796c653d726f756e642d737175617265)](https://github.com/RoussKS/financial-year-carbon/releases)[![Build Status](https://camo.githubusercontent.com/8eebb1e41e23fbf292962610f789e05b0dbf06243bca8fdbc7c047a58e9b66e6/68747470733a2f2f7472617669732d63692e6f72672f526f7573734b532f66696e616e6369616c2d796561722d636172626f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/RoussKS/financial-year-carbon)[![codecov](https://camo.githubusercontent.com/d45b30954bef3366717f264c2abbf693a5440f05501dde74eec2cbca7ffee10e/68747470733a2f2f636f6465636f762e696f2f67682f526f7573734b532f66696e616e6369616c2d796561722d636172626f6e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/RoussKS/financial-year-carbon)[![GitHub license](https://camo.githubusercontent.com/0dd4dee192561e444a75f0b955c5237250f7dfa1e5401699bcc0b8d07b57f7a3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f526f7573734b532f66696e616e6369616c2d796561722d636172626f6e2e737667)](https://github.com/RoussKS/financial-year-carbon/blob/master/LICENSE)

### General Details

[](#general-details)

This is the [Carbon](https://github.com/briannesbitt/carbon) Adapter for the [RoussKS\\FinancialYear](https://github.com/roussks/financial-year).

The library internally transforms, handles and returns Carbon Immutable Objects only.

Introduction, limitations and generic functionality is the same as the parent and described in [RoussKS\\FinancialYear readme](https://github.com/RoussKS/financial-year/blob/master/README.md).

### Requirements

[](#requirements)

- PHP Version ^7.1 ( 7.1 =&lt; PHP Version =&lt; 7.x.x according to [Composer docs version constraints](https://getcomposer.org/doc/articles/versions.md#caret-version-range-) )

### Installation

[](#installation)

```
composer require roussks/financial-year-carbon
```

### Basic Use

[](#basic-use)

```
require_once __DIR__ . '/vendor/autoload.php';

// CarbonAdapter
// If instantiating with string, it must be of ISO-8601 format 'YYYY-MM-DD'
$startDate = new \Carbon\Carbon::createFromDate('2019-01-01');

$fy = new \RoussKS\FinancialYear\CarbonAdapter('calendar', $startDate);

echo $fy->getFyEndDate()->toDateString(); // 2019-12-31
```

### Versioning

[](#versioning)

The current library will be using [Semantic Versioning](https://semver.org/)

As it relies on the parent's [RoussKS\\FinancialYear](https://github.com/roussks/financial-year) Interface, it will limit versioning to MINOR releases. Hence, when the parent class has a new feature and upgrades the PATCH version, the current library will remain in the Minor version until the new feature is implemented.

Non-breaking changes will result in a MINOR or a PATCH version update as classified by SemVer.

Major version releases will not guarantee backwards compatibility.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2423d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9d86c0482f17b8870871b39b008182dfc64aa00d9cadbf91f7967aad47df5ab?d=identicon)[RoussKS](/maintainers/RoussKS)

---

Top Contributors

[![RoussKS](https://avatars.githubusercontent.com/u/7203382?v=4)](https://github.com/RoussKS "RoussKS (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/roussks-financial-year-carbon/health.svg)

```
[![Health](https://phpackages.com/badges/roussks-financial-year-carbon/health.svg)](https://phpackages.com/packages/roussks-financial-year-carbon)
```

###  Alternatives

[ashallendesign/short-url

A Laravel package for creating shortened URLs for your web apps.

1.4k1.9M4](/packages/ashallendesign-short-url)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[intervention/zodiac

Zodiac Sign Calculator

58191.7k](/packages/intervention-zodiac)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[solspace/craft-calendar

The most powerful event management and calendaring plugin!

1830.8k1](/packages/solspace-craft-calendar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
