Skip to content

Commit db2df05

Browse files
authored
Initial commit
0 parents  commit db2df05

File tree

8 files changed

+119
-0
lines changed

8 files changed

+119
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish to REDAXO.org
2+
on:
3+
release:
4+
types:
5+
- published
6+
7+
jobs:
8+
redaxo_publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- if: hashFiles('composer.json') != ''
13+
uses: shivammathur/setup-php@v2
14+
with:
15+
php-version: "8.2"
16+
- if: hashFiles('composer.json') != ''
17+
uses: ramsey/composer-install@v2
18+
with:
19+
composer-options: "--no-dev"
20+
- uses: FriendsOfREDAXO/installer-action@v1
21+
with:
22+
myredaxo-username: ${{ secrets.MYREDAXO_USERNAME }}
23+
myredaxo-api-key: ${{ secrets.MYREDAXO_API_KEY }}
24+
description: ${{ github.event.release.body }}
25+
version: ${{ github.event.release.tag_name }}

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.DS_Store
2+
.definition
3+
.dislap
4+
.idea/**/workspace.xml
5+
.idea/**/tasks.xml
6+
.idea/**/usage.statistics.xml
7+
.idea/**/dictionaries
8+
.idea/**/shelf
9+
*.iml
10+
modules.xml
11+
.idea/misc.xml
12+
.idea/vcs.xml
13+
.idea/encodings.xml
14+
*.ipr

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 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.

README.de.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Deutsche Readme

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# rex_repo_template
2+
REDAXO AddOn english readme
3+
4+
please use in your classes a namespace as
5+
6+
```
7+
namespace FriendsOfRedaxo\[AddOnNameWithoutSpacesAndAsCamelCase]
8+
```
9+
10+
in order to use non deprecated features please don't use PlugIns anymore
11+
12+
## composer.json
13+
14+
this composer.json ensures that no vendors used by the core will be installed

boot.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php // Boot code

composer.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"description": [
3+
"Diese Datei verhindert Konfliktionsprobleme zwischen REDAXO Core/Standard-Addons und eigenen Composer-Abhängigkeiten.",
4+
"Der 'replace'-Block teilt Composer mit, dass diese Pakete bereits vorhanden sind und nicht erneut installiert werden sollen.",
5+
"So werden Konflikte vermieden, wenn dein Addon eigene Composer-Abhängigkeiten hat, die auch im REDAXO Core verwendet werden."
6+
],
7+
"replace": {
8+
"enshrined/svg-sanitize": "*",
9+
"erusev/parsedown": "*",
10+
"erusev/parsedown-extra": "*",
11+
"filp/whoops": "*",
12+
"lbuchs/webauthn": "*",
13+
"phpmailer/phpmailer": "*",
14+
"psr/container": "*",
15+
"psr/http-message": "*",
16+
"psr/log": "*",
17+
"ramsey/http-range": "*",
18+
"symfony/console": "*",
19+
"symfony/http-foundation": "*",
20+
"symfony/var-dumper": "*",
21+
"symfony/yaml": "*",
22+
"voku/anti-xss": "*",
23+
"voku/portable-utf8": "*",
24+
"symfony/polyfill-ctype": "*",
25+
"symfony/polyfill-iconv": "*",
26+
"symfony/polyfill-intl-grapheme": "*",
27+
"symfony/polyfill-intl-normalizer": "*",
28+
"symfony/polyfill-mbstring": "*",
29+
"symfony/polyfill-php72": "*",
30+
"symfony/polyfill-php73": "*",
31+
"symfony/polyfill-php74": "*",
32+
"symfony/polyfill-php80": "*",
33+
"symfony/polyfill-php81": "*"
34+
}
35+
}

package.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package: addon_key
2+
version: '0.0.0'
3+
author: 'Friends Of REDAXO'
4+
supportpage: https://github.com/FriendsOfREDAXO/addon_key
5+
requires:
6+
redaxo: '^5.18.1'
7+
php:
8+
version: '>=8.1, <9'

0 commit comments

Comments
 (0)