-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Daniel Trolezi edited this page Jul 16, 2024
·
19 revisions
Welcome to the laravel-app Wiki!
Follow the instructions bellow to get your application up and running.
- Docker: Setting Up Docker on Ubuntu
- Build images
$ docker compose build
- Run the containers
$ docker compose up -d
- Finishing installation
$ chmod +x ./install.sh
$ ./install.sh
- Access the application
http://localhost
❇️ Commands must run inside the container.
Command | Description |
---|---|
composer phpcs | Runs PHP_CodeSniffer phpcs to enforce PSR-12 |
composer phpcbf | Runs PHP_CodeSniffer phpcbf to fix code style errors |
composer test | Runs all tests |
composer test:coverage | Generates test coverage report |
composer swagger:generate | Generates OpenAPI documentation |
composer rector:dry-run | Rector will show you diff of files that it would change |
composer rector:process | Rector will make the changes |
Name | Repository | Description |
---|---|---|
PHP_CodeSniffer | squizlabs/php_codesniffer | Tokenizes PHP files and detects violations of a defined set of coding standards |
Swagger-PHP | zircote/swagger-php | A php swagger annotation and parsing library |
Rector | rectorphp/rector | Instant Upgrades and Automated Refactoring of any PHP 5.3+ code |