Last active
August 10, 2022 06:30
-
-
Save may-cat/75cd2b461584b50f1635 to your computer and use it in GitHub Desktop.
Примеры composer.json под Битрикс. Показывают, как подключать модули с помощью композера.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "yourcompany/myproject", | |
"description": "Какой-то проект нашей компании", | |
"keywords": ["bitrix", "проектище"], | |
"homepage": "http://bitrix.expert/", | |
"type": "project", | |
"license": "Commerce", | |
"support": { | |
"source": "http://github.com/bitrix-expert/" | |
}, | |
"minimum-stability": "dev", | |
"require": { | |
"php": ">=5.4.0", | |
"bitrix-expert/bex.d7dull": "*" | |
}, | |
"repositories": [ | |
{ | |
"type": "vcs", | |
"url": "https://github.com/bitrix-expert/bex.d7dull" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "yourcompany/myproject", | |
"description": "Какой-то проект нашей компании", | |
"keywords": ["bitrix", "проектище"], | |
"homepage": "http://bitrix.expert/", | |
"type": "project", | |
"license": "Commerce", | |
"support": { | |
"source": "http://github.com/bitrix-expert/" | |
}, | |
"minimum-stability": "dev", | |
"require": { | |
"php": ">=5.4.0", | |
"user12345/repository": "*" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "yourcompany/myproject", | |
"description": "Какой-то проект нашей компании", | |
"keywords": ["bitrix", "проектище"], | |
"homepage": "http://bitrix.expert/", | |
"type": "project", | |
"license": "Commerce", | |
"support": { | |
"source": "http://github.com/bitrix-expert/" | |
}, | |
"minimum-stability": "dev", | |
"require": { | |
"php": ">=5.4.0", | |
"mycompany/somemodule": "*" | |
}, | |
"repositories": [ | |
{ | |
"type": "vcs", | |
"url": "[email protected]:mycompany/somemodule" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment