PHPackages                             caymanbrothers/stockshare-sdk - 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. caymanbrothers/stockshare-sdk

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

caymanbrothers/stockshare-sdk
=============================

PHP SDK developed by Cayman Brothers Corporation for the analysis and valuation of equity derivative options.

v1.0(7y ago)236MITPHPPHP &gt;=5.3.0

Since Dec 30Pushed 4y agoCompare

[ Source](https://github.com/caymanbrothers/stockshare-sdk)[ Packagist](https://packagist.org/packages/caymanbrothers/stockshare-sdk)[ RSS](/packages/caymanbrothers-stockshare-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Cayman Brothers StockShare SDK (v1.0)
=====================================

[](#cayman-brothers-stockshare-sdk-v10)

[![Latest Stable Version](https://camo.githubusercontent.com/4114903db9afdc751958b662167a9bf286f8a9acbd6a4c3c07974f30ac398b40/687474703a2f2f696d672e736869656c64732e696f2f62616467652f4c6174657374253230537461626c652d312e302d626c75652e737667)](https://packagist.org/packages/caymanbrothers/stockshare-sdk)

PHP SDK developed by Cayman Brothers Corporation for the analysis and valuation of equity derivative options.

Installation
------------

[](#installation)

The Cayman Brothers StockShare SDK can be installed with [Composer](https://getcomposer.org/). Run this command:

```
composer require caymanbrothers/stockshare-sdk
```

A short installation guide can also be found [here](https://youtu.be/HE-S7_E9ncU) as a video.

Usage
-----

[](#usage)

> **Note:** This version of the Cayman Brothers StockShare SDK for PHP requires PHP 5.3 or greater.

Simple calculation of a call option using the Black-Scholes model.

```
require_once __DIR__ . '/vendor/autoload.php'; // change path as needed

$BlackScholes = new \CaymanBrothers\CaymanBrothers();

try {
    print_r($BlackScholes->calculate([
        'model' => 'BlackScholes',
        'options' => ['Call', 'Put'],
        'greeks' => true,
        'values' => [
            'underlying_price' => 1000,
            'strike' => 970,
            'expiration' => 92,
            'interest_rate' => 0.06,
            'volatility' => 0.2,
            'dividend_yield' => 0
        ]
    ]));
} catch (\Exception $e) {
    echo $e->getMessage();
}
```

License
-------

[](#license)

Please see the [license file](https://github.com/caymanbrothers/stockshare-sdk/blob/master/LICENSE) for more information.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you have found a security issue, please contact the maintainers directly at [stefankuehnel.com/contact](https://stefankuehnel.com/contact).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

2689d ago

### Community

Maintainers

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

---

Top Contributors

[![corperalist](https://avatars.githubusercontent.com/u/79754408?v=4)](https://github.com/corperalist "corperalist (1 commits)")

---

Tags

black-scholesgreeksoptionsphp-sdk

### Embed Badge

![Health badge](/badges/caymanbrothers-stockshare-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/caymanbrothers-stockshare-sdk/health.svg)](https://phpackages.com/packages/caymanbrothers-stockshare-sdk)
```

###  Alternatives

[symfony/event-dispatcher-contracts

Generic abstractions related to dispatching event

3.4k756.5M424](/packages/symfony-event-dispatcher-contracts)[symfony/var-exporter

Provides tools to export, instantiate, hydrate, clone and lazy-load PHP objects

2.1k378.1M441](/packages/symfony-var-exporter)

PHPackages © 2026

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