├── .gitignore ├── .github ├── dependabot.yml ├── .kodiak.toml └── workflows │ └── ci.yml ├── composer.json ├── LICENSE └── composer.lock /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .phpdoc 3 | output 4 | redaxo-master 5 | vendor -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: composer 4 | directory: / 5 | schedule: 6 | interval: weekly 7 | - package-ecosystem: github-actions 8 | directory: / 9 | schedule: 10 | interval: weekly 11 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "platform": { 4 | "php": "8.1" 5 | }, 6 | "allow-plugins": { 7 | "phpdocumentor/shim": true 8 | } 9 | }, 10 | "require": { 11 | "phpdocumentor/shim": "^3" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /.github/.kodiak.toml: -------------------------------------------------------------------------------- 1 | # .kodiak.toml 2 | version = 1 3 | 4 | [merge] 5 | method = "squash" 6 | delete_branch_on_merge = true 7 | dont_wait_on_status_checks = ["WIP"] # handle github.com/apps/wip 8 | # label to use to enable Kodiak to merge a PR 9 | automerge_label = "automerge" # default: "automerge" 10 | # require that the automerge label be set for Kodiak to merge a PR. if you 11 | # disable this Kodiak will immediately attempt to merge every PR you create 12 | require_automerge_label = true 13 | 14 | [merge.message] 15 | title = "pull_request_title" 16 | body = "empty" 17 | include_coauthors = true 18 | include_pr_number = true 19 | strip_html_comments = true # remove html comments to auto remove PR templates 20 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Friends Of REDAXO 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | pull_request: 8 | branches: 9 | - main 10 | schedule: 11 | - cron: "43 2 * * *" 12 | 13 | jobs: 14 | build: 15 | 16 | runs-on: ubuntu-latest 17 | 18 | steps: 19 | - name: install graphviz 20 | run: sudo apt-get install graphviz 21 | 22 | - uses: actions/checkout@v4 23 | 24 | - uses: "ramsey/composer-install@v3" 25 | with: 26 | composer-options: "--ansi --prefer-dist" 27 | 28 | - name: Download REDAXO 29 | run: curl -sLo redaxo_main.zip https://github.com/redaxo/redaxo/archive/main.zip 30 | 31 | - name: Extract REDAXO 32 | run: unzip redaxo_main.zip -d . 33 | 34 | - name: phpdoc cache 35 | uses: actions/cache@v4 36 | with: 37 | path: .phpdoc 38 | key: branch-${{ github.ref }} 39 | 40 | - name: Cleanup dev files 41 | run: rm -rf redaxo-main/.{github,idea,tools} 42 | 43 | - name: Generate phpdoc 44 | run: vendor/bin/phpdoc project:run --target output --directory redaxo-main --ignore "**/tests" --ignore "**/vendor" --force --visibility=public,protected --sourcecode 45 | 46 | - name: Deploy to Github Pages 47 | uses: peaceiris/actions-gh-pages@v3 48 | if: success() && github.ref == 'refs/heads/main' 49 | with: 50 | github_token: ${{ secrets.GITHUB_TOKEN }} 51 | publish_branch: gh-pages 52 | publish_dir: ./output 53 | 54 | - name: Trigger page build 55 | if: success() && github.ref == 'refs/heads/main' 56 | run: "curl 'https://api.github.com/repos/FriendsOfREDAXO/phpdoc/pages/builds' -X POST -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' -H 'Accept: application/vnd.github.mister-fantastic-preview'" 57 | -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", 5 | "This file is @generated automatically" 6 | ], 7 | "content-hash": "be13e8c85a48772eb6c48081bdcd3401", 8 | "packages": [ 9 | { 10 | "name": "phar-io/composer-distributor", 11 | "version": "1.0.2", 12 | "source": { 13 | "type": "git", 14 | "url": "https://github.com/phar-io/composer-distributor.git", 15 | "reference": "dd7d936290b2a42b0c64bfe08090b5c597c280c9" 16 | }, 17 | "dist": { 18 | "type": "zip", 19 | "url": "https://api.github.com/repos/phar-io/composer-distributor/zipball/dd7d936290b2a42b0c64bfe08090b5c597c280c9", 20 | "reference": "dd7d936290b2a42b0c64bfe08090b5c597c280c9", 21 | "shasum": "" 22 | }, 23 | "require": { 24 | "composer-plugin-api": "^1.1 || ^2.0", 25 | "ext-dom": "*", 26 | "ext-libxml": "*", 27 | "phar-io/filesystem": "^2.0", 28 | "phar-io/gnupg": "^1.0", 29 | "php": "^7.3 || ^8.0" 30 | }, 31 | "require-dev": { 32 | "composer/composer": "^2.0", 33 | "phpunit/phpunit": "^9.4" 34 | }, 35 | "type": "library", 36 | "autoload": { 37 | "psr-4": { 38 | "PharIo\\ComposerDistributor\\": "src/" 39 | } 40 | }, 41 | "notification-url": "https://packagist.org/downloads/", 42 | "license": [ 43 | "MIT" 44 | ], 45 | "authors": [ 46 | { 47 | "name": "Andreas Heigl", 48 | "email": "andreas@heigl.org", 49 | "role": "Developer" 50 | }, 51 | { 52 | "name": "Arne Blankerts", 53 | "email": "arne@blankerts.de", 54 | "role": "Developer" 55 | }, 56 | { 57 | "name": "Sebastian Feldmann", 58 | "email": "sf@sebastian-feldmann.info", 59 | "role": "Developer" 60 | } 61 | ], 62 | "description": "Base Code for a composer plugin that installs PHAR-files", 63 | "homepage": "https://phar.io", 64 | "keywords": [ 65 | "bin", 66 | "binary", 67 | "composer", 68 | "distribute", 69 | "phar", 70 | "phive" 71 | ], 72 | "support": { 73 | "issues": "https://github.com/phar-io/composer-distributor/issues", 74 | "source": "https://github.com/phar-io/composer-distributor/tree/1.0.2" 75 | }, 76 | "funding": [ 77 | { 78 | "url": "https://phar.io", 79 | "type": "other" 80 | } 81 | ], 82 | "time": "2023-05-31T17:05:49+00:00" 83 | }, 84 | { 85 | "name": "phar-io/executor", 86 | "version": "1.0.1", 87 | "source": { 88 | "type": "git", 89 | "url": "https://github.com/phar-io/executor.git", 90 | "reference": "5bfb7400224a0c1cf83343660af85c7f5a073473" 91 | }, 92 | "dist": { 93 | "type": "zip", 94 | "url": "https://api.github.com/repos/phar-io/executor/zipball/5bfb7400224a0c1cf83343660af85c7f5a073473", 95 | "reference": "5bfb7400224a0c1cf83343660af85c7f5a073473", 96 | "shasum": "" 97 | }, 98 | "require": { 99 | "phar-io/filesystem": "^2.0", 100 | "php": "^7.2||^8.0" 101 | }, 102 | "type": "library", 103 | "autoload": { 104 | "classmap": [ 105 | "src/" 106 | ] 107 | }, 108 | "notification-url": "https://packagist.org/downloads/", 109 | "license": [ 110 | "BSD-3-Clause" 111 | ], 112 | "authors": [ 113 | { 114 | "name": "Arne Blankerts", 115 | "email": "arne@blankerts.de", 116 | "role": "Developer" 117 | }, 118 | { 119 | "name": "Sebastian Heuer", 120 | "email": "sebastian@phpeople.de", 121 | "role": "Developer" 122 | } 123 | ], 124 | "support": { 125 | "issues": "https://github.com/phar-io/executor/issues", 126 | "source": "https://github.com/phar-io/executor/tree/1.0.1" 127 | }, 128 | "time": "2020-11-30T10:53:57+00:00" 129 | }, 130 | { 131 | "name": "phar-io/filesystem", 132 | "version": "2.0.1", 133 | "source": { 134 | "type": "git", 135 | "url": "https://github.com/phar-io/filesystem.git", 136 | "reference": "222e3ea432262a05706b7066697c21257664d9d1" 137 | }, 138 | "dist": { 139 | "type": "zip", 140 | "url": "https://api.github.com/repos/phar-io/filesystem/zipball/222e3ea432262a05706b7066697c21257664d9d1", 141 | "reference": "222e3ea432262a05706b7066697c21257664d9d1", 142 | "shasum": "" 143 | }, 144 | "require": { 145 | "php": "^7.2 || ^8.0" 146 | }, 147 | "type": "library", 148 | "autoload": { 149 | "classmap": [ 150 | "src/" 151 | ] 152 | }, 153 | "notification-url": "https://packagist.org/downloads/", 154 | "license": [ 155 | "BSD-3-Clause" 156 | ], 157 | "authors": [ 158 | { 159 | "name": "Arne Blankerts", 160 | "email": "arne@blankerts.de", 161 | "role": "Developer" 162 | }, 163 | { 164 | "name": "Sebastian Heuer", 165 | "email": "sebastian@phpeople.de", 166 | "role": "Developer" 167 | } 168 | ], 169 | "support": { 170 | "issues": "https://github.com/phar-io/filesystem/issues", 171 | "source": "https://github.com/phar-io/filesystem/tree/2.0.1" 172 | }, 173 | "time": "2020-11-30T10:16:22+00:00" 174 | }, 175 | { 176 | "name": "phar-io/gnupg", 177 | "version": "1.0.2", 178 | "source": { 179 | "type": "git", 180 | "url": "https://github.com/phar-io/gnupg.git", 181 | "reference": "3c106d39f62ba3941f830ca24e125cb1b9290a87" 182 | }, 183 | "dist": { 184 | "type": "zip", 185 | "url": "https://api.github.com/repos/phar-io/gnupg/zipball/3c106d39f62ba3941f830ca24e125cb1b9290a87", 186 | "reference": "3c106d39f62ba3941f830ca24e125cb1b9290a87", 187 | "shasum": "" 188 | }, 189 | "require": { 190 | "phar-io/executor": "^1.0", 191 | "phar-io/filesystem": "^2.0", 192 | "php": "^7.2||^8.0" 193 | }, 194 | "type": "library", 195 | "autoload": { 196 | "classmap": [ 197 | "src/" 198 | ] 199 | }, 200 | "notification-url": "https://packagist.org/downloads/", 201 | "license": [ 202 | "BSD-3-Clause" 203 | ], 204 | "authors": [ 205 | { 206 | "name": "Arne Blankerts", 207 | "email": "arne@blankerts.de", 208 | "role": "Developer" 209 | }, 210 | { 211 | "name": "Sebastian Heuer", 212 | "email": "sebastian@phpeople.de", 213 | "role": "Developer" 214 | } 215 | ], 216 | "description": "Thin GnuPG wrapper class around the gnupg binary, mimicking the pecl/gnupg api", 217 | "support": { 218 | "issues": "https://github.com/phar-io/gnupg/issues", 219 | "source": "https://github.com/phar-io/gnupg/tree/1.0.2" 220 | }, 221 | "time": "2020-11-30T10:21:26+00:00" 222 | }, 223 | { 224 | "name": "phpdocumentor/shim", 225 | "version": "v3.4.3", 226 | "source": { 227 | "type": "git", 228 | "url": "https://github.com/phpDocumentor/shim.git", 229 | "reference": "cda99f4be51464da4557f240b9bb98e85a9163fa" 230 | }, 231 | "dist": { 232 | "type": "zip", 233 | "url": "https://api.github.com/repos/phpDocumentor/shim/zipball/cda99f4be51464da4557f240b9bb98e85a9163fa", 234 | "reference": "cda99f4be51464da4557f240b9bb98e85a9163fa", 235 | "shasum": "" 236 | }, 237 | "require": { 238 | "composer-plugin-api": "^2.0", 239 | "phar-io/composer-distributor": "^1.0" 240 | }, 241 | "type": "composer-plugin", 242 | "extra": { 243 | "class": "phpDocumentor\\Plugin" 244 | }, 245 | "autoload": { 246 | "psr-4": { 247 | "phpDocumentor\\": "src" 248 | } 249 | }, 250 | "notification-url": "https://packagist.org/downloads/", 251 | "license": [ 252 | "MIT" 253 | ], 254 | "support": { 255 | "source": "https://github.com/phpDocumentor/shim/tree/v3.4.3" 256 | }, 257 | "time": "2023-10-04T18:36:17+00:00" 258 | } 259 | ], 260 | "packages-dev": [], 261 | "aliases": [], 262 | "minimum-stability": "stable", 263 | "stability-flags": [], 264 | "prefer-stable": false, 265 | "prefer-lowest": false, 266 | "platform": [], 267 | "platform-dev": [], 268 | "platform-overrides": { 269 | "php": "8.1" 270 | }, 271 | "plugin-api-version": "2.6.0" 272 | } 273 | --------------------------------------------------------------------------------