Download the PHP package thepublicgood/laravel-stubs without Composer
On this page you can find all versions of the php package thepublicgood/laravel-stubs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thepublicgood/laravel-stubs
More information about thepublicgood/laravel-stubs
Files in thepublicgood/laravel-stubs
Package laravel-stubs
Short Description Opinionated Laravel stubs
License MIT
Homepage https://github.com/spatie/laravel-stubs
Informations about the package laravel-stubs
A slightly more opinionated version of Spatie's Laravel Stubs package.
This repo contains opinionated versions of the Laravel stubs. The most notable changes are:
- migrations don't have a
down
function - controllers don't extend a base controller
- none of the model attributes are guarded
- use return type hints where possible
- most docblocks have been removed
- Added
declare(strict_types=1);
to all stubs
Installation
You can install the package via composer:
If you want to keep your stubs up to date with every update, add this composer hook to your composer.json file:
Usage
You can publish the stubs using this command:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.
Credits
- Freek Van der Herten
- All Contributors
- Warrick Bayman
License
The MIT License (MIT). Please see License File for more information.