PHPackages                             andach/laravel-signoff - 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. andach/laravel-signoff

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

andach/laravel-signoff
======================

This is a package to allow for Laravel models to be 'signed off' as approved.

v1.0.0(2y ago)042MITPHPPHP ^8.1

Since Sep 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/andach-limited/laravel-signoff)[ Packagist](https://packagist.org/packages/andach/laravel-signoff)[ Docs](https://github.com/andach-limited/laravel-signoff)[ RSS](/packages/andach-laravel-signoff/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (7)Versions (3)Used By (0)

Laravel Signoff by Andach
=========================

[](#laravel-signoff-by-andach)

[![Latest Version on Packagist](https://camo.githubusercontent.com/833751d09e4c1336956c7b3eb60949f13795b356645b028936cb44aa9ed7435f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e646163682f6c61726176656c2d7369676e6f66662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/andach/laravel-signoff)[![GitHub Tests Action Status](https://camo.githubusercontent.com/03e018893d05f1b8a0cfbad51ca55de392c94843542ee37b12241ac56b21ff09/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616e646163682f6c61726176656c2d7369676e6f66662f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/andach/laravel-signoff/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d3c5bd434b3f84ba7a7022b5cb09543e8eda5307ea8b817da2007841f99c4d02/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616e646163682f6c61726176656c2d7369676e6f66662f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/andach/laravel-signoff/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/4af1a9542c2a65b8ed2eb71a252790126acf03fea2b508d67532470a6d81db5c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e646163682f6c61726176656c2d7369676e6f66662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/andach/laravel-signoff)

This is a Laravel package to add the ability to sign off another model, to have a second signoff, and includes a Javascript signature pad option

It integrates with [https://github.com/szimek/signature\_pad](https://github.com/szimek/signature_pad) to provide a simple image if you provide a pad called "sign".

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

[](#installation)

You can install the package via composer:

```
composer require andach/laravel-signoff
```

You can publish the migrations with:

```
php artisan signoff:install
```

And if desired, can publish the views with:

```
php artisan vendor:publish --tag=signoff-views

```

### Signature Pad

[](#signature-pad)

This package integrates with [https://github.com/szimek/signature\_pad](https://github.com/szimek/signature_pad). To use, you should enable the relevant option in the config file and include the Javascript.

```
npm install --save signature_pad

```

And then include the javascript in ./js/app.js into your ./resources/js/app.js file.

Usage
-----

[](#usage)

To use, simply add the `MorphToSignoff` trait and `Signoffable` interface to the model you want to be able to sign off.

```
use Andach\LaravelSignoff\Interfaces\Signoffable;
use Andach\Signoff\Traits\MorphToSignoff;

class MyModel extends Model implements Signoffable
{
    use MorphToSignoff;

    // ...
}

```

Then you can call functions as needed:

```
$model = new MyModel();

// Create a signoff requirement.
$model->signoff()->create([
    // The user_id is optional, and specifies who needs to sign off the model. If null, anyone can sign it off.
    'user_id'                    => 123,

    // A boolean flag. Note that if not required, the item can still be signed off by another user.
    'is_second_signoff_required' => true,

    //Similarly, limits who can provide the second signoff.
    'second_user_id'             => 456,
]);

// Check if the model has been signed off.
$model->isFirstSignedOff(); // false
$model->isFullySignedOff(); // false

// Sign off the model.
$model->doFirstSignoff();

// And now...
$model->isFirstSignedOff(); // true
$model->isFullySignedOff(); // false

// Provide second signoff
$model->doSecondSignoff();

// Finally...
$model->isFirstSignedOff(); // true
$model->isFullySignedOff(); // true

```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

1018d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14134660effc2fe199c32c19c6749473faf24b3944bd15dcf34dd9e088f8f095?d=identicon)[andach-andreas](/maintainers/andach-andreas)

---

Top Contributors

[![andach-andreas](https://avatars.githubusercontent.com/u/140014241?v=4)](https://github.com/andach-andreas "andach-andreas (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelandachlaravel-signoff

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/andach-laravel-signoff/health.svg)

```
[![Health](https://phpackages.com/badges/andach-laravel-signoff/health.svg)](https://phpackages.com/packages/andach-laravel-signoff)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M46](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[stephenjude/laravel-wallet

A simple wallet implementation for Laravel

26611.9k](/packages/stephenjude-laravel-wallet)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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