tommica/php-goalseeksimple

A PHP port of Adam Hannas goal seek functionality

Maintainers

Package info

github.com/tommica/Php-GoalSeekSimple

pkg:composer/tommica/php-goalseeksimple

Statistics

Installs: 1 078

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.2 2021-04-12 09:24 UTC

This package is auto-updated.

Last update: 2026-03-12 20:29:43 UTC


README

This is a port of: https://github.com/adam-hanna/goal-seek

Usage:

composer require tommica/php-goalseeksimple
<?php

use Tommica\GoalSeekSimple;

function calculate($x, $y, $z) {
    return $x * $y * $z;
}

$result = GoalSeekSimple::Solve(
    'calculate',
    array(1, 9, 19),
    0,
    200,
    1,
    684,
    0
);

echo $result; // 4