oliversarfas / laravel-boilerplate
Oliver Sarfas - Laravel Project Boilerplate
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.1.3
- fideloper/proxy: ^4.0
- laravel/framework: 5.8.*
- laravel/tinker: ^1.0
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.2
- barryvdh/laravel-ide-helper: ^2.6
- beyondcode/laravel-dump-server: ^1.0
- beyondcode/laravel-query-detector: ^1.0
- brianium/paratest: 2.*
- filp/whoops: ^2.0
- fzaninotto/faker: ^1.4
- mockery/mockery: ^1.0
- nunomaduro/collision: ^2.0
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2020-09-04 14:13:50 UTC
README
Laravel Boilerplate with standard packages and extra configuration
Usage
To install a basic Laravel installation, run the following command.
composer create-project --prefer-dist oliversarfas/laravel-boilerplate
Included Packages
- https://www.github.com/barryvdh/laravel-debugbar
- https://www.github.com/barryvdh/laravel-ide-helper
- https://www.github.com/beyondcode/laravel-dump-server
- https://www.github.com/beyondcode/laravel-query-detector
- https://www.github.com/brianium/paratest
Specific Configuration Changes
PHPUnit
- I've updated the
phpunit.xml
to include sqlite for database. This allows for faster PHPUnit tests when including database integrations - Functions declared in
test/utilities/functions.php
are loaded via composer when running testscreate()
andmake()
short-functions, to save time writingfactory(MyClass::class)->create()
all the time
TestCase.php
has the functionlogin(App\User User = null): self
- This allows the user to call
$this->login()
from any test (easier to use thanactingAs()
)
- This allows the user to call
- All Notifications, Events, and Mails are faked. Ensuring nothing is sent out when PHPUnit is run