2017 © Pedro Peláez
 

library dive-calculator

A Laravel Package to Calculate Dive Stats from the PADI RDP

image

ambielecki/dive-calculator

A Laravel Package to Calculate Dive Stats from the PADI RDP

  • Saturday, August 12, 2017
  • by missitnoonan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

DiveCalculator

A PHP Package to Calculate Dive Stats from the PADI RDP

This package is for informational use only, the author accepts no liability for calculations made using this package!, (*1)

All divers should perform and check their own calculations with approved charts or devices., (*2)

Installation

The easiest way to install is through composer, (*3)

composer require ambielecki/divecalculator

Or in your require section add:, (*4)

"require": {
    "ambielecki/dive-calculator": "1.*"
}

Run, (*5)

composer update

And you should be good to go., (*6)

Simple Usage

Pardon the formating, markdown and all., (*7)

All times should be in minutes, all depths in feet. I'm in the US, so only Imperial for now., (*8)

use Ambielecki\DiveCalculator\DiveCalculator;

$depth = 50;
$time = 45;
$diveCalculator = new DiveCalculator();
$pressuregroup = $diveCalculator->getPressureGroup($depth, $time);

Available Methods

getPressureGroup($depth, $time, $residual_time = null), (*9)

getNewPressureGroup($starting_group, $surface_interval), (*10)

getResidualNitrogenTime($pressure_group, $depth), (*11)

getMaxBottomTime($depth, $rnt = 0), (*12)

The Versions

12/08 2017

dev-master

9999999-dev

A Laravel Package to Calculate Dive Stats from the PADI RDP

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Andrew Bielecki

12/08 2017

dev-develop

dev-develop

A Laravel Package to Calculate Dive Stats from the PADI RDP

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Andrew Bielecki

12/08 2017

v1.0.3

1.0.3.0

A Laravel Package to Calculate Dive Stats from the PADI RDP

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Andrew Bielecki

12/08 2017

v1.0.2

1.0.2.0

A Laravel Package to Calculate Dive Stats from the PADI RDP

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Andrew Bielecki

12/08 2017

v1.0.1

1.0.1.0

A Laravel Package to Calculate Dive Stats from the PADI RDP

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Andrew Bielecki

12/08 2017

1.0.0

1.0.0.0

A Laravel Package to Calculate Dive Stats from the PADI RDP

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Andrew Bielecki

12/08 2017

1.0

1.0.0.0

A Laravel Package to Calculate Dive Stats from the PADI RDP

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Andrew Bielecki

12/08 2017

v0.2

0.2.0.0

A Laravel Package to Calculate Dive Stats from the PADI RDP

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Andrew Bielecki

12/08 2017

v0.1

0.1.0.0

A Laravel Package to Calculate Dive Stats from the PADI RDP

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Andrew Bielecki