Download the PHP package thedoctor0/laravel-stubs without Composer
On this page you can find all versions of the php package thedoctor0/laravel-stubs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download thedoctor0/laravel-stubs
More information about thedoctor0/laravel-stubs
Files in thedoctor0/laravel-stubs
Download thedoctor0/laravel-stubs
More information about thedoctor0/laravel-stubs
Files in thedoctor0/laravel-stubs
Vendor thedoctor0
Package laravel-stubs
Short Description Opinionated versions of the Laravel stubs for Artisan make commands
License MIT
Homepage https://github.com/TheDoctor0/laravel-stubs
Package laravel-stubs
Short Description Opinionated versions of the Laravel stubs for Artisan make commands
License MIT
Homepage https://github.com/TheDoctor0/laravel-stubs
Please rate this library. Is it a good library?
Informations about the package laravel-stubs
Laravel Stubs
This package contains opinionated versions of the Laravel stubs for Artisan make commands.
Version support
| Package | Laravel | PHP |
|---|---|---|
| 2.x | 11.x, 12.x, 13.x | 8.2+ |
| 1.x | 8.x | 7.4+ |
Changes
strict_typesare declared by default- return type hints are present where possible
- missing parameter type hints have been added
- migrations use anonymous classes and don't have a
downfunction - the model stub ships a
casts()method - form requests don't have an
authorizefunction - extra stubs Laravel doesn't publish: enums, plain classes, traits, scopes, inbound casts, singleton controllers, and Pest tests
Installation
You can install the package via composer:
If you want to keep stubs up to date, add this hook to your composer.json file:
Usage
You can publish the stubs using this command:
Already-published stubs are skipped unless you pass --force.
Testing
Credits
License
The MIT License (MIT). Please see license file for more information.
All versions of laravel-stubs with dependencies
PHP Build Version
Package Version
The package thedoctor0/laravel-stubs contains the following files
Loading the files please wait ...