piotzkhider/laravel-skeleton

Generic Laravel project skeleton package

1.0.1 2019-09-03 17:08 UTC

This package is auto-updated.

Last update: 2024-04-29 04:32:26 UTC


README

This library is heavily inspired by the bear/qa-tools, koriym/Koriym.PhpSkeleton

Laravel skeleton

Create Project

To create your project, enter the following command in your console.

composer create-project piotzkhider/laravel-skeleton <project-path>

You will be asked a few questions to configure the project:

What is the vendor name ?

(MyVendor):Piotzkhider

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.)

Setup continuous integration