PHPackages                             porifa/laravel-stubs - 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. porifa/laravel-stubs

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

porifa/laravel-stubs
====================

The Laravel stubs according to Porifa's choice

v1.2.0(3y ago)010[3 PRs](https://github.com/porifa/laravel-stubs/pulls)MITPHPPHP ^8.0CI passing

Since Oct 24Pushed 1mo ago1 watchersCompare

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

READMEChangelog (3)Dependencies (12)Versions (7)Used By (0)

The Laravel stubs according to Porifa's choice
==============================================

[](#the-laravel-stubs-according-to-porifas-choice)

[![Stable Version](https://camo.githubusercontent.com/fc7c51e72d70effc57a6ce38a0bcf26e87113d1ca33c70e10dbb5f8ab870dd92/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706f726966612f6c61726176656c2d73747562732e7376673f7374796c653d666c6174)](https://packagist.org/packages/porifa/laravel-stubs)[![GitHub Tests Action Status](https://camo.githubusercontent.com/0510a34d5e2177a1fa114917a2fa2d20ad4f39c8425cb06b047bd4251d52d77d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f706f726966612f6c61726176656c2d73747562732f706573743f6c6162656c3d5465737473253230285065737429)](https://github.com/porifa/laravel-stubs/actions?query=workflow%3Apest+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/df281e9a7193710c6485c433819a831da83294972ff63edf71de75d8620ebcaf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f706f726966612f6c61726176656c2d73747562732f50696e743f6c6162656c3d436f64652532305374796c652532302850696e7429)](https://github.com/porifa/laravel-stubs/actions?query=workflow%3A%22Pint%22+branch%3Amain)[![StyleCI](https://camo.githubusercontent.com/b6b385f53022672a03297fb07a1cf6f4dd08008f14eedb5f45387d93f8ae1575/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3535363431363236332f736869656c643f7374796c653d666c6174266272616e63683d6d61696e)](https://github.styleci.io/repos/556416263?branch=main)[![Quality Score](https://camo.githubusercontent.com/042a3bc0b8f7e0fe5ffd19dc94100fe85065ed01a1cf5035a4385f49c3d05141/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f706f726966612f6c61726176656c2d73747562732e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/porifa/laravel-stubs)[![Downloads](https://camo.githubusercontent.com/ce9c20d9dc5943d0fc02eca9479f1750fe316d652eced25a6de37c164b7b83e0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706f726966612f6c61726176656c2d73747562732e7376673f7374796c653d666c6174)](https://packagist.org/packages/porifa/laravel-stubs)[![License](https://camo.githubusercontent.com/c551421b78c09665e11de5c4226948fd4dd46d17cf574d98c323f32a3adae4b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f706f726966612f6c61726176656c2d73747562732e7376673f7374796c653d666c6174)](https://packagist.org/packages/porifa/laravel-stubs)

This repo contains customized stubs according to Porifa's choice.

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

[](#installation)

You can install the package via composer:

```
composer require porifa/laravel-stubs --dev
```

Usage
-----

[](#usage)

You can publish the stubs using this command:

```
php artisan porifa-stubs:publish
```

Optionally, you can keep your stubs up to date with every update, add this composer hook to your composer.json file:

```
"scripts": {
    "post-update-cmd": [
        "@php artisan porifa-stubs:publish --force"
    ]
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/porifa/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Aamir Sohail KmAs](https://github.com/AamirSohailKmAs)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance60

Regular maintenance activity

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.3% 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 ~1 days

Total

3

Last Release

1294d ago

PHP version history (2 changes)v1.0.0PHP ^8.1

v1.1.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/135db8e9b4c1175442f1c6866e95769d245c5bf3396e486a7062179067c33e54?d=identicon)[AamirSohailKmAs](/maintainers/AamirSohailKmAs)

---

Top Contributors

[![AamirSohailKmAs](https://avatars.githubusercontent.com/u/53037997?v=4)](https://github.com/AamirSohailKmAs "AamirSohailKmAs (45 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (26 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (15 commits)")

---

Tags

laravellaravel-stubsporifa

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/porifa-laravel-stubs/health.svg)

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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