Commit a3d533cd authored by John Long's avatar John Long Committed by Suzanne Selhorn

Add composer version info to composer package docs

parent 0d915eeb
...@@ -70,7 +70,10 @@ so that anyone who can access the project can use the package as a dependency. ...@@ -70,7 +70,10 @@ so that anyone who can access the project can use the package as a dependency.
Prerequisites: Prerequisites:
- A package in a GitLab repository. - A package in a GitLab repository. Composer packages should be versioned based on
the [Composer specification](https://getcomposer.org/doc/04-schema.md#version).
If the version is not valid, for example, it has three dots (`1.0.0.0`), an
error (`Validation failed: Version is invalid`) occurs when you publish.
- A valid `composer.json` file. - A valid `composer.json` file.
- The Packages feature is enabled in a GitLab repository. - The Packages feature is enabled in a GitLab repository.
- The project ID, which is on the project's home page. - The project ID, which is on the project's home page.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment