ysato / laravel-skeleton
Generic Laravel project skeleton package
0.0.5
2020-07-28 01:25 UTC
Requires
- php: ^7.4
- fideloper/proxy: ^4.0
- laravel/framework: ^6.2
- laravel/tinker: ^2.0
Requires (Dev)
- barryvdh/laravel-ide-helper: ^2.7
- bear/qatools: ^1.9
- composer/composer: ^1.10
- doctrine/coding-standard: ^8.1
- facade/ignition: ^1.4
- fzaninotto/faker: ^1.9.1
- itsgoingd/clockwork: ^4.1
- mockery/mockery: ^1.0
- nunomaduro/collision: ^3.0
- roave/security-advisories: dev-master
README
This library is heavily inspired by the bear/qa-tools, koriym/Koriym.PhpSkeleton
A standard Laravel project skeleton
Create Project
To create your project, enter the following command in your console.
composer create-project ysato/laravel-skeleton <project-path>
You will be asked a few questions to configure the project:
What is the vendor name ?
(MyVendor):Ysato
What is the package name ?
(MyPackage):AwesomePackage
Composer Commands
Once installed, the project will automatically be configured so you can run those commands in the root of your application:
test
composer test
run phpunit
.
tests
composer tests
run phpcs
, php-cs-fixer
, phpstan
, psalm
and phpunit
.
coverage
composer coverage
builds test coverage report.
cs-fix
composer cs-fix
run php-cs-fixer
and phpcbf
to fix up the PHP code to follow the coding standards. (Check only command composer cs
is also available.)