Skip to content

Commit 5b8698c

Browse files
javiereguiluzxabbuh
authored andcommitted
Better explain the purpose of the "license" Composer metadata
1 parent 2da0fd8 commit 5b8698c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bundles/best_practices.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,7 @@ The ``composer.json`` file should include at least the following metadata:
412412
Use the ``symfony-bundle`` value.
413413

414414
``license``
415-
``MIT`` is the preferred license for Symfony bundles, but you can use any
416-
license.
415+
a string (or array of strings) with a `valid license identifier`_, such as ``MIT``.
417416

418417
``autoload``
419418
This information is used by Symfony to load the classes of the bundle. The
@@ -498,3 +497,4 @@ Learn more
498497
.. _`Semantic Versioning Standard`: http://semver.org/
499498
.. _`Packagist`: https://packagist.org/
500499
.. _`choose any license`: http://choosealicense.com/
500+
.. _`valid license identifier`: https://spdx.org/licenses/

0 commit comments

Comments
 (0)