Skip to content

Commit fef85ca

Browse files
vardumperiroybotliniokvz
authored
feat: add a composer.json in order to being able to require locutus in PHP projects without npm/yarn (#477)
Co-authored-by: Erik Pöhler <iroybot@gmail.com> Co-authored-by: Kevin van Zonneveld <kevin@vanzonneveld.net>
1 parent 254dad0 commit fef85ca

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ website/node_modules/
2525
website/public
2626
website/vendor/bundle/
2727
website/vendor/cache/
28+
.history
2829
.cache/
2930
.claude/ralph-loop.local.md

composer.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "locutusjs/locutus",
3+
"description": "Locutus other languages' standard libraries to JavaScript for fun and educational purposes",
4+
"type": "library",
5+
"keywords": [
6+
"php",
7+
"golang",
8+
"c",
9+
"ruby",
10+
"python",
11+
"js",
12+
"locutus",
13+
"javascript",
14+
"polyfill",
15+
"standard-library"
16+
],
17+
"homepage": "https://locutus.io",
18+
"license": "MIT",
19+
"authors": [
20+
{
21+
"name": "Kevin van Zonneveld",
22+
"email": "kevin@vanzonneveld.net"
23+
}
24+
],
25+
"support": {
26+
"issues": "https://github.com/locutusjs/locutus/issues",
27+
"source": "https://github.com/locutusjs/locutus"
28+
},
29+
"require": {
30+
"php": ">=8.0"
31+
},
32+
"config": {
33+
"sort-packages": true
34+
}
35+
}

0 commit comments

Comments
 (0)