Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mikebronner/laravel-model-caching
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.13
Choose a base ref
...
head repository: mikebronner/laravel-model-caching
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 11,218 additions and 1,463 deletions.
  1. +101 −0 .devcontainer/devcontainer.json
  2. +19 −0 .editorconfig
  3. +9 −0 .gitattributes
  4. +26 −0 .github/ISSUE_TEMPLATE/bug_report.md
  5. +17 −0 .github/ISSUE_TEMPLATE/feature_request.md
  6. +67 −0 .github/workflows/laravel.yml
  7. +4 −0 .gitignore
  8. +6 −0 .phive/phars.xml
  9. +0 −3 .scrutinizer.yml
  10. +0 −25 .travis.yml
  11. +69 −0 .vscode/extensions.json
  12. +17 −0 .vscode/launch.json
  13. +318 −0 .vscode/settings.json
  14. +596 −0 CHANGELOG.md
  15. +1 −1 CONTRIBUTING.md
  16. +203 −29 README.md
  17. +37 −13 composer.json
  18. +6 −0 config/laravel-model-caching.php
  19. +59 −0 docker-compose.yml
  20. +1,021 −0 phive
  21. +11 −0 phpcs.xml
  22. +29 −22 phpunit.xml
  23. +41 −0 phpunit.xml.dist
  24. +365 −65 src/CacheKey.php
  25. +44 −18 src/CacheTags.php
  26. +15 −0 src/CachedBelongsToMany.php
  27. +6 −143 src/CachedBuilder.php
  28. +0 −55 src/CachedModel.php
  29. +78 −0 src/Console/Commands/Clear.php
  30. +41 −0 src/Console/Commands/Publish.php
  31. +27 −0 src/Helper.php
  32. +20 −0 src/ModelCaching.php
  33. +26 −1 src/Providers/Service.php
  34. +317 −0 src/Traits/Buildable.php
  35. +52 −0 src/Traits/BuilderCaching.php
  36. +5 −48 src/Traits/Cachable.php
  37. +41 −0 src/Traits/CachePrefixing.php
  38. +353 −0 src/Traits/Caching.php
  39. +191 −0 src/Traits/ModelCaching.php
  40. +154 −11 tests/CreatesApplication.php
  41. +103 −0 tests/Feature/PaginationTest.php
  42. +8 −0 tests/FeatureTestCase.php
  43. +35 −2 tests/Fixtures/Author.php
  44. +64 −0 tests/Fixtures/AuthorBeginsWithScoped.php
  45. +12 −0 tests/Fixtures/AuthorWithCooldown.php
  46. +68 −0 tests/Fixtures/AuthorWithInlineGlobalScope.php
  47. +30 −4 tests/Fixtures/Book.php
  48. +64 −0 tests/Fixtures/BookWithUncachedStore.php
  49. +22 −0 tests/Fixtures/Comment.php
  50. +21 −0 tests/Fixtures/History.php
  51. +2 −2 tests/Fixtures/Http/Resources/Author.php
  52. +19 −0 tests/Fixtures/Image.php
  53. +32 −0 tests/Fixtures/Nova/AuthorResource.php
  54. +33 −0 tests/Fixtures/Nova/BookResource.php
  55. +59 −0 tests/Fixtures/Nova/Resource.php
  56. +32 −0 tests/Fixtures/Nova/StoreResource.php
  57. +16 −0 tests/Fixtures/Observers/AuthorObserver.php
  58. +26 −0 tests/Fixtures/Post.php
  59. +53 −0 tests/Fixtures/PrefixedAuthor.php
  60. +20 −0 tests/Fixtures/Printer.php
  61. +6 −3 tests/Fixtures/Profile.php
  62. +84 −0 tests/Fixtures/Providers/NovaServiceProvider.php
  63. +5 −2 tests/Fixtures/Publisher.php
  64. +15 −0 tests/Fixtures/Scopes/NameBeginsWith.php
  65. +5 −2 tests/Fixtures/Store.php
  66. +21 −0 tests/Fixtures/StoreWithUncachedBooks.php
  67. +26 −0 tests/Fixtures/Supplier.php
  68. +19 −0 tests/Fixtures/Tag.php
  69. +27 −0 tests/Fixtures/UncachedAuthor.php
  70. +66 −0 tests/Fixtures/UncachedAuthorWithInlineGlobalScope.php
  71. +18 −3 tests/Fixtures/UncachedBook.php
  72. +48 −0 tests/Fixtures/UncachedBookWithStores.php
  73. +19 −0 tests/Fixtures/UncachedComment.php
  74. +20 −0 tests/Fixtures/UncachedHistory.php
  75. +17 −0 tests/Fixtures/UncachedImage.php
  76. +24 −0 tests/Fixtures/UncachedPost.php
  77. +18 −0 tests/Fixtures/UncachedPrinter.php
  78. +28 −0 tests/Fixtures/UncachedSupplier.php
  79. +18 −0 tests/Fixtures/UncachedTag.php
  80. +24 −0 tests/Fixtures/UncachedUser.php
  81. +28 −0 tests/Fixtures/User.php
  82. +209 −0 tests/Integration/CachedBuilder/BelongsToManyTest.php
  83. +91 −0 tests/Integration/CachedBuilder/BooleanTest.php
  84. +35 −0 tests/Integration/CachedBuilder/CreateTest.php
  85. +62 −0 tests/Integration/CachedBuilder/DateTimeTest.php
  86. +35 −0 tests/Integration/CachedBuilder/DecrementTest.php
  87. +33 −0 tests/Integration/CachedBuilder/DeleteTest.php
  88. +37 −0 tests/Integration/CachedBuilder/FindOrFailTest.php
  89. +74 −0 tests/Integration/CachedBuilder/FindTest.php
  90. +28 −0 tests/Integration/CachedBuilder/FirstOrCreateTest.php
  91. +34 −0 tests/Integration/CachedBuilder/FirstTest.php
  92. +40 −0 tests/Integration/CachedBuilder/ForceDeleteTest.php
  93. +89 −0 tests/Integration/CachedBuilder/GetTest.php
  94. +58 −0 tests/Integration/CachedBuilder/HasManyTest.php
  95. +65 −0 tests/Integration/CachedBuilder/HasManyThroughTest.php
  96. +65 −0 tests/Integration/CachedBuilder/HasOneThroughTest.php
  97. +27 −0 tests/Integration/CachedBuilder/InRandomOrderQueryTest.php
  98. +23 −0 tests/Integration/CachedBuilder/IncrementTest.php
  99. +101 −0 tests/Integration/CachedBuilder/LazyLoadTest.php
  100. +30 −0 tests/Integration/CachedBuilder/LimitTest.php
  101. +56 −0 tests/Integration/CachedBuilder/MorphOneTest.php
  102. +193 −0 tests/Integration/CachedBuilder/PaginateTest.php
  103. +63 −0 tests/Integration/CachedBuilder/PolymorphicManyToManyTest.php
  104. +62 −0 tests/Integration/CachedBuilder/PolymorphicOneToManyTest.php
  105. +64 −0 tests/Integration/CachedBuilder/PolymorphicOneToOneTest.php
  106. +37 −0 tests/Integration/CachedBuilder/PrefixTest.php
  107. +274 −0 tests/Integration/CachedBuilder/ScopeTest.php
  108. +115 −0 tests/Integration/CachedBuilder/SelectTest.php
  109. +86 −0 tests/Integration/CachedBuilder/SoftDeletesTest.php
  110. +53 −0 tests/Integration/CachedBuilder/SubQueryAddSelectTest.php
  111. +49 −0 tests/Integration/CachedBuilder/SubQueryOrderByTest.php
  112. +29 −0 tests/Integration/CachedBuilder/UpdateExistingPivotTest.php
  113. +28 −0 tests/Integration/CachedBuilder/UpdateRelationTest.php
  114. +34 −0 tests/Integration/CachedBuilder/WhenTest.php
  115. +78 −0 tests/Integration/CachedBuilder/WhereHasMorphTest.php
  116. +61 −0 tests/Integration/CachedBuilder/WhereHasTest.php
  117. +31 −0 tests/Integration/CachedBuilder/WhereInRawTest.php
  118. +102 −0 tests/Integration/CachedBuilder/WhereInTest.php
  119. +81 −0 tests/Integration/CachedBuilder/WhereJsonContainsTest.php
  120. +51 −0 tests/Integration/CachedBuilder/WhereJsonLengthTest.php
  121. +80 −0 tests/Integration/CachedBuilder/WhereNotInTest.php
  122. +36 −0 tests/Integration/CachedBuilder/WhereNullTest.php
  123. +140 −0 tests/Integration/CachedBuilder/WhereRawTest.php
  124. +135 −0 tests/Integration/CachedBuilder/WhereTest.php
  125. +53 −0 tests/Integration/CachedBuilder/WithCountTest.php
  126. +105 −0 tests/Integration/CachedBuilder/WithTest.php
  127. +52 −0 tests/Integration/CachedBuilderMultipleQueryTest.php
  128. +47 −0 tests/Integration/CachedBuilderRelationshipsTest.php
  129. +755 −0 tests/Integration/CachedBuilderTest.php
  130. +216 −0 tests/Integration/CachedModelTest.php
  131. +163 −0 tests/Integration/Console/Commands/FlushTest.php
  132. +54 −67 tests/{Unit → Integration}/DisabledCachedBuilderTest.php
  133. +51 −0 tests/Integration/DisabledCachedModelTest.php
  134. +36 −0 tests/Integration/HelperTest.php
  135. +35 −0 tests/Integration/Traits/BuilderCachingTest.php
  136. +100 −0 tests/Integration/Traits/CachableTest.php
  137. +51 −0 tests/Integration/Traits/CachePrefixingTest.php
  138. +8 −0 tests/IntegrationTestCase.php
  139. +101 −0 tests/Nova/BelongsToManyTest.php
  140. +23 −0 tests/Nova/CreateTest.php
  141. +21 −0 tests/Nova/DeleteTest.php
  142. +33 −0 tests/Nova/UpdateTest.php
  143. +68 −0 tests/NovaTestCase.php
  144. +0 −8 tests/TestCase.php
  145. +0 −686 tests/Unit/CachedBuilderTest.php
  146. +0 −81 tests/Unit/CachedModelTest.php
  147. +0 −64 tests/Unit/DisabledCachedModelTest.php
  148. +0 −72 tests/Unit/Traits/CachableTest.php
  149. +1 −0 tests/database/.gitignore
  150. +7 −0 tests/database/factories/AuthorFactory.php
  151. +6 −1 tests/database/factories/BookFactory.php
  152. +11 −0 tests/database/factories/CommentFactory.php
  153. +12 −0 tests/database/factories/HistoryFactory.php
  154. +10 −0 tests/database/factories/ImageFactory.php
  155. +11 −0 tests/database/factories/PostFactory.php
  156. +12 −0 tests/database/factories/PrinterFactory.php
  157. +1 −1 tests/database/factories/ProfileFactory.php
  158. +10 −0 tests/database/factories/SupplierFactory.php
  159. +10 −0 tests/database/factories/TagFactory.php
  160. +16 −0 tests/database/factories/UncachedAuthorFactory.php
  161. +16 −0 tests/database/factories/UncachedBookFactory.php
  162. +10 −0 tests/database/factories/UncachedPublisherFactory.php
  163. +12 −0 tests/database/factories/UserFactory.php
  164. +3 −5 tests/database/migrations/2017_09_21_010055_create_authors.php
  165. +0 −5 tests/database/migrations/2017_09_21_010100_create_publishers.php
  166. +2 −6 tests/database/migrations/2017_09_21_010109_create_books.php
  167. +18 −0 tests/database/migrations/2017_09_21_010110_create_printers.php
  168. +0 −5 tests/database/migrations/2017_09_21_200000_create_profiles.php
  169. +0 −5 tests/database/migrations/2017_09_21_201000_create_stores.php
  170. +2 −5 tests/database/migrations/2017_09_21_202000_create_book_store.php
  171. +46 −0 tests/database/migrations/2018_01_01_000001_create_action_events_table.php
  172. +20 −0 tests/database/migrations/2018_06_03_202000_create_comments.php
  173. +19 −0 tests/database/migrations/2018_06_03_202001_create_images.php
  174. +33 −0 tests/database/migrations/2019_05_10_000002_add_fields_to_action_events_table.php
  175. +17 −0 tests/database/migrations/2019_09_15_100000_create_suppliers_table.php
  176. +18 −0 tests/database/migrations/2019_09_15_100001_create_users_table.php
  177. +18 −0 tests/database/migrations/2019_09_15_100002_create_histories_table.php
  178. +18 −0 tests/database/migrations/2019_09_15_100003_create_posts_table.php
  179. +17 −0 tests/database/migrations/2019_09_15_100004_create_tags_table.php
  180. +17 −0 tests/database/migrations/2019_09_15_100005_create_taggables_table.php
  181. +82 −0 tests/database/seeds/DatabaseSeeder.php
  182. +22 −0 tests/resources/views/model-caching-tests/pagination.blade.php
  183. +23 −0 tests/routes/web.php
  184. +5 −0 tools/CodeSniffer.conf
101 changes: 101 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
// https://aka.ms/devcontainer.json
{
"name": "Existing Docker Compose (Extend)",
"dockerComposeFile": [
"../docker-compose.yml"
],
"features": {
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
}
},
"service": "laravel.test",
"workspaceFolder": "/var/www/html",
"customizations": {
"vscode": {
"settings": {},
"extensions": [
"aaron-bond.better-comments",
"adrianwilczynski.alpine-js-intellisense",
"amiralizadeh9480.laravel-extra-intellisense",
"austenc.laravel-blade-spacer",
"beyondcode.tinkerwell",
"bmewburn.vscode-intelephense-client",
"bradlc.vscode-tailwindcss",
"christian-kohler.npm-intellisense",
"christian-kohler.path-intellisense",
"cierra.livewire-vscode",
"codingyu.laravel-goto-view",
"davidanson.vscode-markdownlint",
"davidbwaters.macos-modern-theme",
"eamodio.gitlens",
"editorconfig.editorconfig",
"ericcheng.codesongclear",
"faelv.composer-companion",
"file-icons.file-icons",
"foxundermoon.shell-format",
"georgykurian.laravel-ide-helper",
"github.codespaces",
"GitHub.copilot-chat",
"GitHub.copilot-nightly",
"github.vscode-github-actions",
"github.vscode-pull-request-github",
"Gruntfuggly.activitusbar",
"heissenbergerlab.php-array-from-json",
"heybourn.headwind",
"huibizhang.codesnap-plus",
"irongeek.vscode-env",
"kencocaceo.customvscodeuicss",
"m4ns0ur.base64",
"maciejdems.add-to-gitignore",
"mahmoudshahin.laravel-routes",
"markis.code-coverage",
"martybegood.single-editor-tabs",
"mechatroner.rainbow-csv",
"mehedidracula.php-namespace-resolver",
"mhutchie.git-graph",
"mikestead.dotenv",
"mohamedbenhida.laravel-intellisense",
"mrmlnc.vscode-duplicate",
"naoray.laravel-goto-components",
"oderwat.indent-rainbow",
"pcbowers.alpine-intellisense",
"recca0120.vscode-phpunit",
"redhat.vscode-yaml",
"rifi2k.format-html-in-php",
"shevaua.phpcs",
"shufo.vscode-blade-formatter",
"sperovita.alpinejs-syntax-highlight",
"streetsidesoftware.code-spell-checker",
"syler.ignore",
"teabyii.ayu",
"usernamehw.errorlens",
"vincaslt.highlight-matching-tag",
"WakaTime.vscode-wakatime",
"withfig.fig",
"wongjn.php-sniffer",
"xdebug.php-debug",
"codecov.codecov"
]
}
},
"remoteUser": "sail",
"postCreateCommand": "sudo chown -R 1000:1000 /var/www/html",
"forwardPorts": [
5432,
6379
],
"portsAttributes": {
"5432": {
"label": "Postgres"
},
"6379": {
"label": "Redis"
}
},
"mounts": [
"source=${localEnv:HOME}/.wakatime.cfg,target=/home/sail/.wakatime.cfg,type=bind,consistency=delegated"
]
// "runServices": [],
// "shutdownAction": "none",
}
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
indent_size = 2

[*.{yml,yaml}]
indent_size = 2

[.blackfire.yaml]
indent_size = 4
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -3,7 +3,16 @@
/.github export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.phpcs.xml export-ignore
/.phpmd.xml export-ignore
/.phpunit.xml export-ignore
/.phpunit.xml.dist export-ignore
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore
/build
/composer.lock
/database.yml export-ignore
/phpunit.xml export-ignore
/tests export-ignore
/tools export-ignore
/vendor
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve. Please fill out each section completely.

---

**Describe the bug**
A clear and concise description of what the bug is.

**Eloquent Query**
Please provide the complete eloquent query that caused the bug, for example:
```php
$model->with('otherModel')->get();
```

**Stack Trace**
The full stack trace from your log file.

**Environment**
- PHP: [e.g. 7.1.0]
- OS: [e.g. Ubuntu 18.04]
- Laravel: [e.g. 5.6.15]
- Model Caching: [e.g. 0.2.61]

**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
67 changes: 67 additions & 0 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Laravel Package

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
laravel-tests:

runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [8.4, 8.3, 8.2]

name: PHP ${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd, pgsql, pdo_pgsql
coverage: none

- uses: zhulik/redis-action@1.1.0
with:
redis version: '5'
number of databases: 100

- uses: harmon758/postgresql-action@v1
with:
postgresql version: '15'
postgresql db: 'testing'
postgresql user: 'forge'
postgresql password: 'secret'

- name: Remove Nova on a pull request
if: github.event_name == 'pull_request'
run: composer remove laravel/nova --no-update --no-interaction --dev

- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"

- name: Install Dependencies
run: |
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_LICENSE_KEY }}"
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Execute Integration and Feature tests via PHPUnit
run: vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite Integration,Feature

- name: Execute Nova tests via PHPUnit
if: github.event_name != 'pull_request'
run: vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite Nova
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
.idea
.phpunit.result.cache
/.phpunit*
/build
/vendor
composer.lock
6 changes: 6 additions & 0 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpmd" version="^2.7.0" installed="2.7.0" location="./tools/phpmd" copy="false"/>
<phar name="phpcs" version="^3.5.6" installed="3.5.6" location="./tools/phpcs" copy="false"/>
<phar name="phpunit" version="^9.3.10" installed="9.3.10" location="./tools/phpunit" copy="false"/>
</phive>
3 changes: 0 additions & 3 deletions .scrutinizer.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

69 changes: 69 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"recommendations": [
"aaron-bond.better-comments",
"adrianwilczynski.alpine-js-intellisense",
"amiralizadeh9480.laravel-extra-intellisense",
"austenc.laravel-blade-spacer",
"beyondcode.tinkerwell",
"bmewburn.vscode-intelephense-client",
"bradlc.vscode-tailwindcss",
"christian-kohler.npm-intellisense",
"christian-kohler.path-intellisense",
"cierra.livewire-vscode",
"codingyu.laravel-goto-view",
"davidanson.vscode-markdownlint",
"davidbwaters.macos-modern-theme",
"eamodio.gitlens",
"editorconfig.editorconfig",
"ericcheng.codesongclear",
"faelv.composer-companion",
"file-icons.file-icons",
"foxundermoon.shell-format",
"georgykurian.laravel-ide-helper",
"github.codespaces",
"GitHub.copilot-chat",
"GitHub.copilot-nightly",
"github.vscode-github-actions",
"github.vscode-pull-request-github",
"Gruntfuggly.activitusbar",
"heissenbergerlab.php-array-from-json",
"heybourn.headwind",
"huibizhang.codesnap-plus",
"irongeek.vscode-env",
"kencocaceo.customvscodeuicss",
"m4ns0ur.base64",
"maciejdems.add-to-gitignore",
"mahmoudshahin.laravel-routes",
"markis.code-coverage",
"martybegood.single-editor-tabs",
"mechatroner.rainbow-csv",
"mehedidracula.php-namespace-resolver",
"mhutchie.git-graph",
"mikestead.dotenv",
"mohamedbenhida.laravel-intellisense",
"mrmlnc.vscode-duplicate",
"naoray.laravel-goto-components",
"oderwat.indent-rainbow",
"pcbowers.alpine-intellisense",
"recca0120.vscode-phpunit",
"redhat.vscode-yaml",
"rifi2k.format-html-in-php",
"shevaua.phpcs",
"shufo.vscode-blade-formatter",
"sperovita.alpinejs-syntax-highlight",
"streetsidesoftware.code-spell-checker",
"syler.ignore",
"teabyii.ayu",
"usernamehw.errorlens",
"vincaslt.highlight-matching-tag",
"WakaTime.vscode-wakatime",
"withfig.fig",
"wongjn.php-sniffer",
"xdebug.php-debug",
"codecov.codecov"
],
"unwantedRecommendations": [
"ikappas.phpcs",
"linyang95.phpmd"
]
}
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/home/vagrant/Sites/ens": "/Users/mike/Developer/Sites/ens"
}
}
]
}
Loading