PHPackages                             get-things-done/shareholder - 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. get-things-done/shareholder

ActiveLibrary

get-things-done/shareholder
===========================

0.1.0(5y ago)04MITPHPPHP ^7.4

Since Oct 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/get-things-done/shareholder)[ Packagist](https://packagist.org/packages/get-things-done/shareholder)[ Docs](https://github.com/get-things-done/shareholder)[ GitHub Sponsors](https://github.com/get-things-done)[ RSS](/packages/get-things-done-shareholder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/35f5aa2eb8f40e3a1ae7b41802000eabedde6bf758a8e5a3b41ad8291627e3c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6765742d7468696e67732d646f6e652f7368617265686f6c6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/get-things-done/shareholder)[![GitHub Tests Action Status](https://camo.githubusercontent.com/141a7025914a4ea68f6062ff0aa71f40ddc309eca22f1563be2ad38b9b9d173d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6765742d7468696e67732d646f6e652f7368617265686f6c6465722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/get-things-done/shareholder/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/7a06671f514e3551a3f355eeceef1f53d6267d46d0c33ed58851870f967d0aad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6765742d7468696e67732d646f6e652f7368617265686f6c6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/get-things-done/shareholder)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require get-things-done/shareholder
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="GetThingsDone\Shareholder\ShareholderServiceProvider" --tag="migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="GetThingsDone\Shareholder\ShareholderServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

```
//Setting share's price
app(\GetThingsDone\Shareholder\SharePrice::class)->update(1);

//Retrieve current share's price
app(\GetThingsDone\Shareholder\SharePrice::class)->current();

//Transfer shares between shareholders
$shareholder = \GetThingsDone\Shareholder\Models\Shareholder::factory()->create();
$anotherShareholder = \GetThingsDone\Shareholder\Models\Shareholder::factory()->create();
app(\GetThingsDone\Shareholder\ShareTranfer::class)
    ->from($shareholder)
    ->to($anotherShareholder)
    ->quantity(1000)
    ->transfer();

//Retrieve shareholder's current quantity
\GetThingsDone\Shareholder\ShareQuantity::of($shareholder)->current();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Cao Minh Duc](https://github.com/cao-minh-duc)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

2041d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17726941?v=4)[Cao Minh Duc](/maintainers/cao-minh-duc)[@cao-minh-duc](https://github.com/cao-minh-duc)

---

Top Contributors

[![cao-minh-duc](https://avatars.githubusercontent.com/u/17726941?v=4)](https://github.com/cao-minh-duc "cao-minh-duc (12 commits)")

---

Tags

get-things-doneshareholder

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/get-things-done-shareholder/health.svg)

```
[![Health](https://phpackages.com/badges/get-things-done-shareholder/health.svg)](https://phpackages.com/packages/get-things-done-shareholder)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[timokoerber/laravel-one-time-operations

Run operations once after deployment - just like you do it with migrations!

6481.7M11](/packages/timokoerber-laravel-one-time-operations)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[wnx/laravel-sends

Keep track of outgoing emails in your Laravel application.

200427.3k](/packages/wnx-laravel-sends)[illuminate/process

The Illuminate Process package.

44699.5k65](/packages/illuminate-process)

PHPackages © 2026

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