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

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

clickbar/laravel-stubs
======================

Opinionated Laravel stubs

4.0.0(2y ago)092.5k↓45.9%MITPHPPHP ^8.2

Since Mar 24Pushed 2y agoCompare

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

READMEChangelog (9)Dependencies (4)Versions (30)Used By (0)

Opinionated Laravel stubs
=========================

[](#opinionated-laravel-stubs)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ec04bbe8c595e1b0c7a48b6560adf8f3f6fa31bd0d8d27051bcbfe509ec09d3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c69636b6261722f6c61726176656c2d73747562732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/clickbar/laravel-stubs)[![GitHub Tests Action Status](https://camo.githubusercontent.com/0495cb7229ca2163d2a9964a5e92b8298b678bfadab23a3ab0dfd97ee49a3cdb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f636c69636b6261722f6c61726176656c2d73747562732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/clickbar/laravel-stubs/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/aa69c80aa552493f23fc339eaf65965cfa5b7f2609b1aabf0106c6db49f17716/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c69636b6261722f6c61726176656c2d73747562732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/clickbar/laravel-stubs)

This repo contains opinionated versions of the Laravel stubs. The most notable changes are:

- none of the model attributes are guarded
- model timestamps cast to `immutable_datetime`
- use return type hints where possible
- most docblocks have been removed

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

[](#installation)

You can install the package via composer:

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

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

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

Usage
-----

[](#usage)

You can publish the stubs using this command:

```
php artisan clickbar-stub:publish
```

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
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Freek Van der Herten](https://github.com/freekmurze)
- [Alexander von Studnitz](https://github.com/studnitz)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 57.8% 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 ~51 days

Recently: every ~103 days

Total

29

Last Release

797d ago

Major Versions

0.0.1 → 1.0.02020-03-24

1.1.1 → 2.0.02020-09-14

2.5.2 → 3.0.02023-02-15

2.5.4 → 4.0.02024-03-12

PHP version history (4 changes)0.0.1PHP ^7.4

2.1.0PHP ^7.4|^8.0

2.5.0PHP ^8.0

4.0.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (85 commits)")[![studnitz](https://avatars.githubusercontent.com/u/9549394?v=4)](https://github.com/studnitz "studnitz (14 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (7 commits)")[![mokhosh](https://avatars.githubusercontent.com/u/6499685?v=4)](https://github.com/mokhosh "mokhosh (5 commits)")[![chrisinit](https://avatars.githubusercontent.com/u/35133075?v=4)](https://github.com/chrisinit "chrisinit (4 commits)")[![SamuelMwangiW](https://avatars.githubusercontent.com/u/1807304?v=4)](https://github.com/SamuelMwangiW "SamuelMwangiW (4 commits)")[![Jidbo](https://avatars.githubusercontent.com/u/25406344?v=4)](https://github.com/Jidbo "Jidbo (4 commits)")[![alexmanase](https://avatars.githubusercontent.com/u/10696975?v=4)](https://github.com/alexmanase "alexmanase (4 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (3 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (2 commits)")[![Xammie](https://avatars.githubusercontent.com/u/13081809?v=4)](https://github.com/Xammie "Xammie (2 commits)")[![SamuelNitsche](https://avatars.githubusercontent.com/u/24483576?v=4)](https://github.com/SamuelNitsche "SamuelNitsche (1 commits)")[![Sparclex](https://avatars.githubusercontent.com/u/2805213?v=4)](https://github.com/Sparclex "Sparclex (1 commits)")[![mikemand](https://avatars.githubusercontent.com/u/745184?v=4)](https://github.com/mikemand "mikemand (1 commits)")[![Carnicero90](https://avatars.githubusercontent.com/u/78483736?v=4)](https://github.com/Carnicero90 "Carnicero90 (1 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (1 commits)")[![djfhe](https://avatars.githubusercontent.com/u/44621469?v=4)](https://github.com/djfhe "djfhe (1 commits)")[![erikn69](https://avatars.githubusercontent.com/u/4933954?v=4)](https://github.com/erikn69 "erikn69 (1 commits)")[![fridzema](https://avatars.githubusercontent.com/u/8180660?v=4)](https://github.com/fridzema "fridzema (1 commits)")[![abbasudo](https://avatars.githubusercontent.com/u/86796762?v=4)](https://github.com/abbasudo "abbasudo (1 commits)")

---

Tags

clickbarlaravel-stubs

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[spatie/laravel-stubs

Opinionated Laravel stubs

252616.9k3](/packages/spatie-laravel-stubs)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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