diff --git a/cookbook/bundles/best_practices.rst b/cookbook/bundles/best_practices.rst index a21ecd6d765..5c025c7bf92 100644 --- a/cookbook/bundles/best_practices.rst +++ b/cookbook/bundles/best_practices.rst @@ -15,6 +15,11 @@ apply to application bundles because you'll want to keep those as simple as possible. For application bundles, just follow the practices shown throughout the book and cookbook. +.. seealso:: + + The best practices for application-specific bundles are discussed in + :doc:`/best_practices/introduction`. + .. index:: pair: Bundle; Naming conventions @@ -219,7 +224,7 @@ following standardized instructions in your ``README.md`` file. following command to download the latest stable version of this bundle: ```bash - $ composer require + $ composer require "~1" ``` This command requires you to have Composer installed globally, as explained @@ -254,6 +259,9 @@ following standardized instructions in your ``README.md`` file. } ``` +This template assumes that your bundle is in its ``1.x`` version. If not, change +the ``"~1"`` installation version accordingly (``"~2"``, ``"~3"``, etc.) + Optionally, you can add more installation steps (*Step 3*, *Step 4*, etc.) to explain other required installation tasks, such as registering routes or dumping assets.