-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added base PHP image to run local development and PHAR builds ci: added default markdownlint config feat: add box-project/box, composer-require-checker and composer-normalize PHARs feat: Makefile now builds trap PHAR locally using `make phar` command
- Loading branch information
Showing
5 changed files
with
75 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# https://docs.docker.com/compose/reference/envvars/#compose_project_name | ||
# With custom namespace provided, it will be used to prefix all services | ||
# in Docker network for current project | ||
COMPOSE_PROJECT_NAME=trap | ||
|
||
XDEBUG_MODE=coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json", | ||
"line-length": false, | ||
"no-inline-html": false, | ||
"first-line-h1": false, | ||
"no-duplicate-heading": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/box-project/box/main/res/schema.json", | ||
"compactors": [ | ||
"KevinGH\\Box\\Compactor\\Json", | ||
"KevinGH\\Box\\Compactor\\Php" | ||
], | ||
"compression": "GZ", | ||
"git": "git", | ||
"directories": [ | ||
"resources", | ||
"src", | ||
"vendor" | ||
], | ||
"files": [ | ||
"trap.xml", | ||
"bin/trap", | ||
"LICENSE.md", | ||
"composer.json", | ||
"composer.lock" | ||
], | ||
"output": ".build/phar/trap.phar" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
|
||
version: '3.9' | ||
|
||
services: | ||
app: | ||
image: wayofdev/php-dev:8.3-cli-alpine-latest | ||
container_name: ${COMPOSE_PROJECT_NAME}-app | ||
restart: on-failure | ||
networks: | ||
- default | ||
volumes: | ||
- ./:/app:rw | ||
- ~/.composer:/.composer | ||
env_file: | ||
- .env | ||
environment: | ||
PHIVE_HOME: /app/.phive | ||
|
||
networks: | ||
default: | ||
name: project.${COMPOSE_PROJECT_NAME} | ||
|
||
... |