This commit is contained in:
Refactorian
2023-09-21 21:15:34 +09:00
committed by GitHub
parent 0eb595bd12
commit 0c09331734
2 changed files with 96 additions and 79 deletions

View File

@@ -24,6 +24,9 @@
### From the second time onwards ### From the second time onwards
- `docker-compose up -d` - `docker-compose up -d`
- `docker-compose exec php bash`
# Notes
### Basic docker compose commands ### Basic docker compose commands
- Build or rebuild services - Build or rebuild services
@@ -36,12 +39,23 @@
- `docker-compose stop` - `docker-compose stop`
- Restart service containers - Restart service containers
- `docker-compose restart` - `docker-compose restart`
- Run a command inside a container
### Useful commands
- Run a command inside a container:
- `docker-compose exec [container] [command]` - `docker-compose exec [container] [command]`
### TODO ### Laravel Pint (Code Style Fixer | PHP-CS-Fixer)
- Format all files
- `./vendor/bin/pint`
- Format specific files or directories
- `./vendor/bin/pint app/Models`
- `./vendor/bin/pint app/Models/User.php`
- Format all files with preview
- `./vendor/bin/pint -v`
- Format uncommitted changes according to Git
- `./vendor/bin/pint --dirty`
- Inspect all files
- `./vendor/bin/pint --test`
# TODO
- Improve environment - Improve environment
- Add more containers - Add more containers

153
composer.lock generated
View File

@@ -972,16 +972,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v10.23.1", "version": "v10.24.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "dbfd495557678759153e8d71cc2f6027686ca51e" "reference": "bcebd0a4c015d5c38aeec299d355a42451dd3726"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/dbfd495557678759153e8d71cc2f6027686ca51e", "url": "https://api.github.com/repos/laravel/framework/zipball/bcebd0a4c015d5c38aeec299d355a42451dd3726",
"reference": "dbfd495557678759153e8d71cc2f6027686ca51e", "reference": "bcebd0a4c015d5c38aeec299d355a42451dd3726",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1168,20 +1168,20 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2023-09-13T14:51:46+00:00" "time": "2023-09-19T15:25:04+00:00"
}, },
{ {
"name": "laravel/prompts", "name": "laravel/prompts",
"version": "v0.1.7", "version": "v0.1.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/prompts.git", "url": "https://github.com/laravel/prompts.git",
"reference": "554e7d855a22e87942753d68e23b327ad79b2070" "reference": "68dcc65babf92e1fb43cba0b3f78fc3d8002709c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/prompts/zipball/554e7d855a22e87942753d68e23b327ad79b2070", "url": "https://api.github.com/repos/laravel/prompts/zipball/68dcc65babf92e1fb43cba0b3f78fc3d8002709c",
"reference": "554e7d855a22e87942753d68e23b327ad79b2070", "reference": "68dcc65babf92e1fb43cba0b3f78fc3d8002709c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1214,9 +1214,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/laravel/prompts/issues", "issues": "https://github.com/laravel/prompts/issues",
"source": "https://github.com/laravel/prompts/tree/v0.1.7" "source": "https://github.com/laravel/prompts/tree/v0.1.8"
}, },
"time": "2023-09-12T11:09:22+00:00" "time": "2023-09-19T15:33:56+00:00"
}, },
{ {
"name": "laravel/sanctum", "name": "laravel/sanctum",
@@ -2078,16 +2078,16 @@
}, },
{ {
"name": "nette/utils", "name": "nette/utils",
"version": "v4.0.1", "version": "v4.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/utils.git", "url": "https://github.com/nette/utils.git",
"reference": "9124157137da01b1f5a5a22d6486cb975f26db7e" "reference": "cead6637226456b35e1175cc53797dd585d85545"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/utils/zipball/9124157137da01b1f5a5a22d6486cb975f26db7e", "url": "https://api.github.com/repos/nette/utils/zipball/cead6637226456b35e1175cc53797dd585d85545",
"reference": "9124157137da01b1f5a5a22d6486cb975f26db7e", "reference": "cead6637226456b35e1175cc53797dd585d85545",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2109,8 +2109,7 @@
"ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()",
"ext-json": "to use Nette\\Utils\\Json", "ext-json": "to use Nette\\Utils\\Json",
"ext-mbstring": "to use Strings::lower() etc...", "ext-mbstring": "to use Strings::lower() etc...",
"ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()"
"ext-xml": "to use Strings::length() etc. when mbstring is not available"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -2159,9 +2158,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/nette/utils/issues", "issues": "https://github.com/nette/utils/issues",
"source": "https://github.com/nette/utils/tree/v4.0.1" "source": "https://github.com/nette/utils/tree/v4.0.2"
}, },
"time": "2023-07-30T15:42:21+00:00" "time": "2023-09-19T11:58:07+00:00"
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
@@ -2794,16 +2793,16 @@
}, },
{ {
"name": "psy/psysh", "name": "psy/psysh",
"version": "v0.11.20", "version": "v0.11.21",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/bobthecow/psysh.git", "url": "https://github.com/bobthecow/psysh.git",
"reference": "0fa27040553d1d280a67a4393194df5228afea5b" "reference": "bcb22101107f3bf770523b65630c9d547f60c540"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/0fa27040553d1d280a67a4393194df5228afea5b", "url": "https://api.github.com/repos/bobthecow/psysh/zipball/bcb22101107f3bf770523b65630c9d547f60c540",
"reference": "0fa27040553d1d280a67a4393194df5228afea5b", "reference": "bcb22101107f3bf770523b65630c9d547f60c540",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2833,6 +2832,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "0.11.x-dev" "dev-main": "0.11.x-dev"
},
"bamarni-bin": {
"bin-links": false,
"forward-command": false
} }
}, },
"autoload": { "autoload": {
@@ -2864,9 +2867,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/bobthecow/psysh/issues", "issues": "https://github.com/bobthecow/psysh/issues",
"source": "https://github.com/bobthecow/psysh/tree/v0.11.20" "source": "https://github.com/bobthecow/psysh/tree/v0.11.21"
}, },
"time": "2023-07-31T14:32:22+00:00" "time": "2023-09-17T21:15:54+00:00"
}, },
{ {
"name": "ralouphie/getallheaders", "name": "ralouphie/getallheaders",
@@ -5807,16 +5810,16 @@
}, },
{ {
"name": "laravel/pint", "name": "laravel/pint",
"version": "v1.13.1", "version": "v1.13.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/pint.git", "url": "https://github.com/laravel/pint.git",
"reference": "22f204242d68095b3ba7dab5d3ef0240454a4652" "reference": "bbb13460d7f8c5c0cd9a58109beedd79cd7331ff"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/pint/zipball/22f204242d68095b3ba7dab5d3ef0240454a4652", "url": "https://api.github.com/repos/laravel/pint/zipball/bbb13460d7f8c5c0cd9a58109beedd79cd7331ff",
"reference": "22f204242d68095b3ba7dab5d3ef0240454a4652", "reference": "bbb13460d7f8c5c0cd9a58109beedd79cd7331ff",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -5827,13 +5830,13 @@
"php": "^8.1.0" "php": "^8.1.0"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^3.21.1", "friendsofphp/php-cs-fixer": "^3.26.1",
"illuminate/view": "^10.5.1", "illuminate/view": "^10.23.1",
"laravel-zero/framework": "^10.1.2", "laravel-zero/framework": "^10.1.2",
"mockery/mockery": "^1.5.1", "mockery/mockery": "^1.6.6",
"nunomaduro/larastan": "^2.5.1", "nunomaduro/larastan": "^2.6.4",
"nunomaduro/termwind": "^1.15.1", "nunomaduro/termwind": "^1.15.1",
"pestphp/pest": "^2.4.0" "pestphp/pest": "^2.18.2"
}, },
"bin": [ "bin": [
"builds/pint" "builds/pint"
@@ -5869,7 +5872,7 @@
"issues": "https://github.com/laravel/pint/issues", "issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint" "source": "https://github.com/laravel/pint"
}, },
"time": "2023-09-06T11:03:34+00:00" "time": "2023-09-19T15:55:02+00:00"
}, },
{ {
"name": "laravel/sail", "name": "laravel/sail",
@@ -6082,37 +6085,37 @@
}, },
{ {
"name": "nunomaduro/collision", "name": "nunomaduro/collision",
"version": "v7.8.1", "version": "v7.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nunomaduro/collision.git", "url": "https://github.com/nunomaduro/collision.git",
"reference": "61553ad3260845d7e3e49121b7074619233d361b" "reference": "296d0cf9fe462837ac0da8a568b56fc026b132da"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nunomaduro/collision/zipball/61553ad3260845d7e3e49121b7074619233d361b", "url": "https://api.github.com/repos/nunomaduro/collision/zipball/296d0cf9fe462837ac0da8a568b56fc026b132da",
"reference": "61553ad3260845d7e3e49121b7074619233d361b", "reference": "296d0cf9fe462837ac0da8a568b56fc026b132da",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"filp/whoops": "^2.15.3", "filp/whoops": "^2.15.3",
"nunomaduro/termwind": "^1.15.1", "nunomaduro/termwind": "^1.15.1",
"php": "^8.1.0", "php": "^8.1.0",
"symfony/console": "^6.3.2" "symfony/console": "^6.3.4"
}, },
"require-dev": { "require-dev": {
"brianium/paratest": "^7.2.4", "brianium/paratest": "^7.2.7",
"laravel/framework": "^10.17.1", "laravel/framework": "^10.23.1",
"laravel/pint": "^1.10.5", "laravel/pint": "^1.13.1",
"laravel/sail": "^1.23.1", "laravel/sail": "^1.25.0",
"laravel/sanctum": "^3.2.5", "laravel/sanctum": "^3.3.1",
"laravel/tinker": "^2.8.1", "laravel/tinker": "^2.8.2",
"nunomaduro/larastan": "^2.6.4", "nunomaduro/larastan": "^2.6.4",
"orchestra/testbench-core": "^8.5.9", "orchestra/testbench-core": "^8.11.0",
"pestphp/pest": "^2.12.1", "pestphp/pest": "^2.19.1",
"phpunit/phpunit": "^10.3.1", "phpunit/phpunit": "^10.3.5",
"sebastian/environment": "^6.0.1", "sebastian/environment": "^6.0.1",
"spatie/laravel-ignition": "^2.2.0" "spatie/laravel-ignition": "^2.3.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -6171,7 +6174,7 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2023-08-07T08:03:21+00:00" "time": "2023-09-19T10:45:09+00:00"
}, },
{ {
"name": "phar-io/manifest", "name": "phar-io/manifest",
@@ -6286,16 +6289,16 @@
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
"version": "10.1.5", "version": "10.1.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "1df504e42a88044c27a90136910f0b3fe9e91939" "reference": "56f33548fe522c8d82da7ff3824b42829d324364"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/1df504e42a88044c27a90136910f0b3fe9e91939", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/56f33548fe522c8d82da7ff3824b42829d324364",
"reference": "1df504e42a88044c27a90136910f0b3fe9e91939", "reference": "56f33548fe522c8d82da7ff3824b42829d324364",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6352,7 +6355,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.5" "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.6"
}, },
"funding": [ "funding": [
{ {
@@ -6360,7 +6363,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-09-12T14:37:22+00:00" "time": "2023-09-19T04:59:03+00:00"
}, },
{ {
"name": "phpunit/php-file-iterator", "name": "phpunit/php-file-iterator",
@@ -6607,16 +6610,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "10.3.4", "version": "10.3.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "b8d59476f19115c9774b3b447f78131781c6c32b" "reference": "747c3b2038f1139e3dcd9886a3f5a948648b7503"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b8d59476f19115c9774b3b447f78131781c6c32b", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/747c3b2038f1139e3dcd9886a3f5a948648b7503",
"reference": "b8d59476f19115c9774b3b447f78131781c6c32b", "reference": "747c3b2038f1139e3dcd9886a3f5a948648b7503",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6640,7 +6643,7 @@
"sebastian/comparator": "^5.0", "sebastian/comparator": "^5.0",
"sebastian/diff": "^5.0", "sebastian/diff": "^5.0",
"sebastian/environment": "^6.0", "sebastian/environment": "^6.0",
"sebastian/exporter": "^5.0", "sebastian/exporter": "^5.1",
"sebastian/global-state": "^6.0.1", "sebastian/global-state": "^6.0.1",
"sebastian/object-enumerator": "^5.0", "sebastian/object-enumerator": "^5.0",
"sebastian/recursion-context": "^5.0", "sebastian/recursion-context": "^5.0",
@@ -6688,7 +6691,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.3.4" "source": "https://github.com/sebastianbergmann/phpunit/tree/10.3.5"
}, },
"funding": [ "funding": [
{ {
@@ -6704,7 +6707,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-09-12T14:42:28+00:00" "time": "2023-09-19T05:42:37+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",
@@ -7141,16 +7144,16 @@
}, },
{ {
"name": "sebastian/exporter", "name": "sebastian/exporter",
"version": "5.0.1", "version": "5.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git", "url": "https://github.com/sebastianbergmann/exporter.git",
"reference": "32ff03d078fed1279c4ec9a407d08c5e9febb480" "reference": "c3fa8483f9539b190f7cd4bfc4a07631dd1df344"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/32ff03d078fed1279c4ec9a407d08c5e9febb480", "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c3fa8483f9539b190f7cd4bfc4a07631dd1df344",
"reference": "32ff03d078fed1279c4ec9a407d08c5e9febb480", "reference": "c3fa8483f9539b190f7cd4bfc4a07631dd1df344",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -7207,7 +7210,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/exporter/issues", "issues": "https://github.com/sebastianbergmann/exporter/issues",
"security": "https://github.com/sebastianbergmann/exporter/security/policy", "security": "https://github.com/sebastianbergmann/exporter/security/policy",
"source": "https://github.com/sebastianbergmann/exporter/tree/5.0.1" "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.0"
}, },
"funding": [ "funding": [
{ {
@@ -7215,7 +7218,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-09-08T04:46:58+00:00" "time": "2023-09-18T07:15:37+00:00"
}, },
{ {
"name": "sebastian/global-state", "name": "sebastian/global-state",
@@ -7755,16 +7758,16 @@
}, },
{ {
"name": "spatie/ignition", "name": "spatie/ignition",
"version": "1.10.1", "version": "1.11.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/ignition.git", "url": "https://github.com/spatie/ignition.git",
"reference": "d92b9a081e99261179b63a858c7a4b01541e7dd1" "reference": "48b23411ca4bfbc75c75dfc638b6b36159c375aa"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/ignition/zipball/d92b9a081e99261179b63a858c7a4b01541e7dd1", "url": "https://api.github.com/repos/spatie/ignition/zipball/48b23411ca4bfbc75c75dfc638b6b36159c375aa",
"reference": "d92b9a081e99261179b63a858c7a4b01541e7dd1", "reference": "48b23411ca4bfbc75c75dfc638b6b36159c375aa",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -7834,7 +7837,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-08-21T15:06:37+00:00" "time": "2023-09-19T15:29:52+00:00"
}, },
{ {
"name": "spatie/laravel-ignition", "name": "spatie/laravel-ignition",