2017 © Pedro Peláez
 

library business-days

image

troglodyte/business-days

  • Friday, August 4, 2017
  • by brunowego
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

BusinessDays Build Status Code Climate Test Coverage

PHP Object that calculates date differences with business days in mind (mon-fri), (*1)

requires php 7+, (*2)

composer require troglodyte/business-days, (*3)

Example

<?php
use troglodyte\BusinessDays

$dt = new BusinessDays();
$num_days = $dt->getBusinessDays('01/01/2017', '01/03/2017'); // returns (int) 2

// or

$num_days = BusinessDays::getBusinessDays('01/01/2017', '01/03/2017'); // returns (int) 2

The Versions

04/08 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar troglodyte

academic swag

04/08 2017

1.1.0

1.1.0.0

  Sources   Download

MIT

The Requires

 

by Avatar troglodyte

academic swag

07/04 2017

dev-develop

dev-develop

  Sources   Download

MIT

The Requires

 

by Avatar troglodyte

academic swag

15/06 2015

1.0.0

1.0.0.0

  Sources   Download

MIT

by Avatar troglodyte

academic swag