Skip to content
The default Laravel stubs modified to our liking
PHP
Branch: master
Clone or download

Latest commit

Latest commit f6bd081 Mar 25, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github wip Mar 24, 2020
src Integration with orchestra/canvas Mar 25, 2020
stubs wip Mar 24, 2020
tests wip Mar 24, 2020
.editorconfig wip Mar 24, 2020
.gitattributes wip Mar 24, 2020
.gitignore wip Mar 24, 2020
.php_cs wip Mar 24, 2020
.styleci.yml wip Mar 24, 2020
CHANGELOG.md Update CHANGELOG.md Mar 25, 2020
CONTRIBUTING.md wip Mar 24, 2020
LICENSE.md wip Mar 24, 2020
README.md Update README.md (#5) Mar 24, 2020
composer.json wip Mar 24, 2020
phpunit.xml.dist wip Mar 24, 2020

README.md

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:

  • 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

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Installation

You can install the package via composer:

composer require spatie/laravel-stubs --dev

Usage

You can publish the stubs using this command:

php artisan spatie-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 freek@spatie.be instead of using the issue tracker.

Credits

License

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

You can’t perform that action at this time.