PHPackages                             rozdol/payroll - 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. rozdol/payroll

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

rozdol/payroll
==============

Payroll for Cyprus

v1.1.9(3mo ago)02261MITPHPPHP &gt;=5.6

Since Jun 20Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/rozdol/payroll)[ Packagist](https://packagist.org/packages/rozdol/payroll)[ RSS](/packages/rozdol-payroll/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (2)Versions (12)Used By (1)

PHP Class for Payroll for Cyprus
================================

[](#php-class-for-payroll-for-cyprus)

About
-----

[](#about)

Payroll for Cyprus

Install
-------

[](#install)

cd to `your_project_root_dir`

```
composer require rozdol/payroll:"v1.*"
```

in Table or Model or Controller

```
use Rozdol\Payroll\Payroll;
$this->payroll = new Payroll();
$data=[...];
$result = $this->utils->payslip($data);
```

### Unit Test

[](#unit-test)

`cd payroll`

```
composer update rozdol/payroll
```

To test

```
./vendor/bin/phpunit tests/
```

Compose library Tutorial
------------------------

[](#compose-library-tutorial)

```
cd payroll
composer update
git init
git .
git commit -m 'Initial commit'
```

Create github repo

```
git remote add origin git@github.com:rozdol/payroll.git
git push origin master
```

- on github add new release (v1.0.0)
- On packagist Update Package
- Login to [packagist.org](https://packagist.org/)
- Submit `https://github.com/rozdol/payroll`

### Ready to use in project

[](#ready-to-use-in-project)

cd to `your_project_root_dir`

```
composer require rozdol/payroll
```

in Table or Model or Controller

```
use Rozdol\Payroll\Payroll;
$this->payroll = new Payroll();
$date_normalized = $this->payroll->F_date('01/01/20', 1); // 01.01.2020
```

#### Connecting Github to Packagist

[](#connecting-github-to-packagist)

In Github-&gt;Settings-&gt;Integrations..-&gt;Add-&gt;Packagist user: packagist user api\_key: packagist-&gt;User-&gt;Profile-&gt;Show API KEY Domain:

Test: New reslease in Github and check the version in Packagist

### Unit Tests

[](#unit-tests)

install local phpunit

```
composer require --dev phpunit/phpunit ^6
```

```
mkdir tests
cd tests
mkdir TestCase
cd TestCase
mkdir Funcs
```

edit `PayrollTest.php`

`cd payroll`

```
composer update rozdol/payroll
```

To test

```
./vendor/bin/phpunit tests/
```

in GitHub `Project / Settings / Services / Add Packagist`

```
User: rozdol
Token: https://packagist.org/profile/ -> Your API Token
Domain: https://packagist.org
Active: true
Add Service: click
```

### Travis CI

[](#travis-ci)

```
git checkout -b travis
git add .travis.yml
git push origin travis
```

in GitHub `Project / Settings / Services / Add Packagist`

```
User: rozdol
Token: https://travis-ci.org/profile/rozdol -> Copy API Token
Domain: notify.travis-ci.org
Active: true
Add Service: click
```

[Got to Travis](https://travis-ci.org/) Press + , swipe activation

##### Detactach from original source

[](#detactach-from-original-source)

```
git remote -v
git remote remove origin
git remote add origin git@github.com:rozdol/payroll.git
git push origin random_changes
```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance79

Regular maintenance activity

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~277 days

Recently: every ~455 days

Total

11

Last Release

111d ago

### Community

Maintainers

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

---

Top Contributors

[![rozdol](https://avatars.githubusercontent.com/u/543388?v=4)](https://github.com/rozdol "rozdol (24 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rozdol-payroll/health.svg)

```
[![Health](https://phpackages.com/badges/rozdol-payroll/health.svg)](https://phpackages.com/packages/rozdol-payroll)
```

###  Alternatives

[appstract/laravel-opcache

PHP OPcache Artisan commands for Laravel.

1.4k4.9M7](/packages/appstract-laravel-opcache)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.5M178](/packages/illuminate-broadcasting)[cmixin/business-time

Carbon mixin to handle business days and opening hours

3171.3M1](/packages/cmixin-business-time)[jaocero/radio-deck

Turn filament default radio button into a selectable card with icons, title and description.

83281.2k5](/packages/jaocero-radio-deck)[am-impact/amforms

Forms plugin for Craft

1202.6k](/packages/am-impact-amforms)

PHPackages © 2026

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