PHPackages                             martinpetricko/laravel-approvals - 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. martinpetricko/laravel-approvals

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

martinpetricko/laravel-approvals
================================

Review model changes before publishing.

046PHPCI failing

Since Feb 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/MartinPetricko/laravel-approvals)[ Packagist](https://packagist.org/packages/martinpetricko/laravel-approvals)[ RSS](/packages/martinpetricko-laravel-approvals/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

TODO: Update README
===================

[](#todo-update-readme)

This is my package laravel-approvals
====================================

[](#this-is-my-package-laravel-approvals)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a989dff53ee2b7ae8f1ac99df22df2a1accbca17f39fbcf953033a2bdc9b1c06/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617274696e7065747269636b6f2f6c61726176656c2d617070726f76616c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/martinpetricko/laravel-approvals)[![GitHub Tests Action Status](https://camo.githubusercontent.com/09b6b22778a4373a6e797119dee2979680f025c56db6d530d884253b55c57b26/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d617274696e7065747269636b6f2f6c61726176656c2d617070726f76616c732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/martinpetricko/laravel-approvals/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/67b3644fe6d86117941a5987374e775fe29ce698bd82b00bb8676a9d211ded4f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d617274696e7065747269636b6f2f6c61726176656c2d617070726f76616c732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/martinpetricko/laravel-approvals/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/86580eb31e21e3f09e385c636f8908ef99fd44bda4451727433c2fd02fd9e696/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617274696e7065747269636b6f2f6c61726176656c2d617070726f76616c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/martinpetricko/laravel-approvals)

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

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/9b87dab1ff104991ae916d2f334a2acdacf994306ad29537178ee722ea8949e3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d617070726f76616c732e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-approvals)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require martinpetricko/laravel-approvals
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-approvals-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-approvals-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-approvals-views"
```

Usage
-----

[](#usage)

```
$laravelApprovals = new MartinPetricko\LaravelApprovals();
echo $laravelApprovals->echoPhrase('Hello, MartinPetricko!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Martin Petricko](https://github.com/MartinPetricko)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![MartinPetricko](https://avatars.githubusercontent.com/u/39132866?v=4)](https://github.com/MartinPetricko "MartinPetricko (18 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)")

### Embed Badge

![Health badge](/badges/martinpetricko-laravel-approvals/health.svg)

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

###  Alternatives

[christiankuri/laravel-favorite

Allows Laravel Eloquent models to implement a 'favorite' or 'remember' or 'follow' feature.

226471.2k5](/packages/christiankuri-laravel-favorite)[bheller/images-generator

Generator of placeholder images for Faker

573.1M3](/packages/bheller-images-generator)[hostnet/form-handler-component

Hostnet form handler to provide an easier way of handling forms

12182.3k2](/packages/hostnet-form-handler-component)

PHPackages © 2026

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