New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

clickbar/laravel-stubs

Opinionated Laravel stubs
96,091
Install
composer require clickbar/laravel-stubs
Latest Version:4.0.0
PHP:^8.2
Laravel:11
Older releases:7 – 10
License:MIT
Last Updated:Mar 12, 2024
Links: GitHub  ·  Packagist
Maintainer: studnitz

Opinionated Laravel stubs

Latest Version on Packagist GitHub Tests Action Status Total Downloads

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

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

You can publish the stubs using this command:

php artisan clickbar-stub:publish

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

spatie/laravel-stubs

Opinionated Laravel stubs

791,166 252
saniolab/laravel-stubs

Opinionated Laravel stubs

18,384 0
reusserdesign/laravel-stubs

Opinionated Laravel stubs

4,681 0
mltstephane/laravel-stubs

Opinionated Laravel stubs

413 0
clickbar/ag-grid-laravel

AG Grid server-side adapter for Laravel.

21,961 20

Version History

Version Released PHP Laravel License
4.0.0 ^8.2 ^11.0 MIT
3.0.0 ^8.0 ^8.71|^9.0|^10.0 MIT
2.8.0 ^8.0 ^8.71|^9.0 MIT
2.7.1 ^8.0 ^8.71|^9.0 MIT
2.7.0 ^8.0 ^8.71|^9.0 MIT