PHPackages                             henriale/stinter - 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. [Payment Processing](/categories/payments)
4. /
5. henriale/stinter

ActiveLibrary[Payment Processing](/categories/payments)

henriale/stinter
================

A plan/subscription auditor for Laravel.

v1.0.2(10y ago)2132MITPHPPHP &gt;=5.5.0

Since Mar 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/henriale/stinter)[ Packagist](https://packagist.org/packages/henriale/stinter)[ RSS](/packages/henriale-stinter/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (9)Used By (0)

stinter
=======

[](#stinter)

A plan/resource auditor for Laravel.

### Installing

[](#installing)

1 - Firstly, place the package into your project using composer:

```
$ composer require henriale/stinter
$ composer composer update
```

2 - Then, create a `/config/stinters.php` file or just publish it with the following command:

```
$ php artisan vendor:publish --provider="Henriale\Stinter\StintServiceProvider"
```

### Getting Started

[](#getting-started)

1 - Create a restriction/stint class to control your resources:

```
$ php artisan make:stint CreateProduct
```

2 - Make some validation with it

```
class CreateProduct extends Stinter
{
  protected $basicPlanLimitation = 10;

  public function check(Authenticatable $user)
  {
      if ($user->products()->count() >= $this->basicPlanLimitation) {
        // user has too many products
        return false;
      }

      //user still can have more products
      return true;
  }
}
```

3 - Now, register in `/config/stinters.php` so the auditor can check it when triggered

```
return [
    \App\Stinters\CreateProduct::class
];
```

4 - Finally, use `\Gate` class passing the stint FQN to handle its permission:

```

@can(\App\Stinters\CreateProduct::class)
  // can
@else
  // cannot
@endcan
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~2 days

Total

8

Last Release

3731d ago

Major Versions

v0.5.4 → v1.0.02016-04-12

PHP version history (2 changes)v0.1PHP &gt;=5.6.0

v0.5PHP &gt;=5.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1428103?v=4)[Alexandre Araujo](/maintainers/henriale)[@henriale](https://github.com/henriale)

---

Top Contributors

[![henriale](https://avatars.githubusercontent.com/u/1428103?v=4)](https://github.com/henriale "henriale (15 commits)")

---

Tags

laravelsubscriptionplanauditorchecker

### Embed Badge

![Health badge](/badges/henriale-stinter/health.svg)

```
[![Health](https://phpackages.com/badges/henriale-stinter/health.svg)](https://phpackages.com/packages/henriale-stinter)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k89.4M575](/packages/laravel-passport)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k14.1M123](/packages/laravel-pulse)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8405.5M96](/packages/laravel-doctrine-orm)[laravelcm/laravel-subscriptions

Laravel Subscriptions is a flexible plans and subscription management system for Laravel, with the required tools to run your SAAS like services efficiently. It's simple architecture, accompanied by powerful underlying to afford solid platform for your business.

24464.4k4](/packages/laravelcm-laravel-subscriptions)[wnikk/laravel-access-rules

Simple system of ACR (access control rules) for Laravel, with roles, groups, unlimited inheritance and possibility of multiplayer use.

103.7k1](/packages/wnikk-laravel-access-rules)

PHPackages © 2026

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