Содержимое файла composer.json для старта проекта.
{ "name": "vendor-name/package-name", "type": "project", "description": "Description of the project.", "authors": [ { "name": "Name1 Surname1", "email": "email1@email.domain", "homepage": "https://your-site.domain", "role": "Developer" }, { "name": "Name2 Surname2", "email": "email2@email.domain", "homepage": "https://your-site.domain", "role": "Developer" } ], "keywords": [ "keyword1", "keyword2", "keyword3" ], "license": "MIT", "require": { "php" : "^7.0", "author1/package": "~1.1", "author2/package": "~1.2", "author3/package": "~1.3" }, "require-dev": { "author4/package": "~1.1", "author5/package": "~1.2", "author6/package": "~1.3" }, "autoload": { "psr-4": { "App\\": "src/" } }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } } }
Полезные ссылки
- getcomposer.org (официальный сайт);
- getcomposer.org/doc (документация);
- getcomposer.org/doc/00-intro.md (обзор);
- getcomposer.org/doc/04-schema.md (схема);
- getcomposer.org/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md.
Добавить комментарий
Для отправки комментария вам необходимо авторизоваться.