PHPackages                             web-id/persil - 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. web-id/persil

ActiveLibrary

web-id/persil
=============

This is my package persil

3.0.0(2y ago)213.0k1MITPHPPHP ^8.1

Since Oct 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/web-id-fr/persil)[ Packagist](https://packagist.org/packages/web-id/persil)[ Docs](https://github.com/web-id/persil)[ GitHub Sponsors](https://github.com/web-id-fr)[ RSS](/packages/web-id-persil/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (6)Used By (0)

Persil
======

[](#persil)

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

[](#installation)

Require this package with composer. It is recommended to only require the package for development.

```
composer require web-id/persil --dev
```

Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

Publish Laravel stubs compatible with Larastan
----------------------------------------------

[](#publish-laravel-stubs-compatible-with-larastan)

List of stubs : [here](https://github.com/web-id-fr/persil/tree/main/src/Stubs/CustomLaravelStubs)

```
php artisan vendor:publish --tag=custom-laravel-stubs
```

Make repository file
--------------------

[](#make-repository-file)

Empty repository

```
php artisan make:repository UserRepository
```

Repository with wanted methods

```
php artisan make:repository UserRepository --update --delete
```

Repository with *all, store, update, delete* methods

```
php artisan make:repository UserRepository --resource
```

Repository using cache system

```
php artisan make:repository UserRepository --update --delete --cache
php artisan make:repository UserRepository --resource --cache
```

List of available methods (options)

- [all](https://github.com/web-id-fr/persil/tree/main/src/Stubs/Makes/repositories/all.stub)
- [store](https://github.com/web-id-fr/persil/tree/main/src/Stubs/Makes/repositories/store.stub)
- [update](https://github.com/web-id-fr/persil/tree/main/src/Stubs/Makes/repositories/update.stub)
- [delete](https://github.com/web-id-fr/persil/tree/main/src/Stubs/Makes/repositories/delete.stub)
- [find](https://github.com/web-id-fr/persil/blob/main/src/Stubs/Makes/repositories/find.stub)

Make service file
-----------------

[](#make-service-file)

Create service file on app/Services ([template](https://github.com/web-id-fr/persil/blob/main/src/Stubs/Makes/services/service.stub))

```
php artisan make:service PaymentService
```

Create [service file](https://github.com/web-id-fr/persil/blob/main/src/Stubs/Makes/services/service.implemented.stub) with [testing service file](https://github.com/web-id-fr/persil/blob/main/src/Stubs/Makes/services/service.testing.stub), [interface](https://github.com/web-id-fr/persil/blob/main/src/Stubs/Makes/services/service.contract.stub) and [provider](https://github.com/web-id-fr/persil/blob/main/src/Stubs/Makes/services/service.provider.stub)

```
php artisan make:service PaymentService --provider
```

Credits
-------

[](#credits)

- [Leo Tiollier](https://github.com/LTiollier)

License
-------

[](#license)

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

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 86.1% 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 ~237 days

Total

4

Last Release

950d ago

Major Versions

1.0.0 → 2.0.02022-02-21

2.0.1 → 3.0.02023-10-11

PHP version history (3 changes)1.0.0PHP ^8.0

2.0.0PHP ^8.0.2

3.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/cefb02231110e801ec332d70b4bb7f1df97a12f095e0c1ea887d3273d74cde78?d=identicon)[web-id](/maintainers/web-id)

---

Top Contributors

[![LTiollier](https://avatars.githubusercontent.com/u/16253697?v=4)](https://github.com/LTiollier "LTiollier (31 commits)")[![rygilles](https://avatars.githubusercontent.com/u/7666960?v=4)](https://github.com/rygilles "rygilles (5 commits)")

---

Tags

generatorlaravelpackagerepositoryservicelaravelweb-idpersil

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/web-id-persil/health.svg)

```
[![Health](https://phpackages.com/badges/web-id-persil/health.svg)](https://phpackages.com/packages/web-id-persil)
```

###  Alternatives

[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[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)[bilfeldt/laravel-request-logger

Log Laravel application request and responses for debugging or statistics

122163.3k2](/packages/bilfeldt-laravel-request-logger)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[basillangevin/laravel-data-json-schemas

Transforms Spatie Data objects into JSON Schemas with built-in validation

1312.2k1](/packages/basillangevin-laravel-data-json-schemas)

PHPackages © 2026

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