Skip to content
Daniel Trolezi edited this page Jul 15, 2024 · 19 revisions

Welcome to the laravel-app Wiki!

Setup

Follow the instructions bellow to get your application up and running.

Requirements

Setting up the Environment

  1. Build images
$ docker compose build
  1. Run the containers
$ docker compose up -d
  1. Finishing installation
$ chmod +x ./install.sh
$ ./install.sh

Commands

Commands must run inside the container.

Command Description
composer phpcs Runs PHP_CodeSniffer phpcs
composer phpcbf Runs PHP_CodeSniffer phpcbf
composer test Runs all tests
composer test:coverage Generates test coverage report
composer swagger:generate Generates OpenAPI documentation