CakePHP Install Specific Version
If you run composer help create-project
it states that:-
You can also specify the version with the package name using = or : as separator.
So you can use either of the following commands (similar to installing a package with require
):-
composer create-project --prefer-dist cakephp/app:3.0.0 my_app_name
Or:-
composer create-project --prefer-dist cakephp/app=3.0.0 my_app_name
You can also use *
notation as a wildcard in the version number. So if you want to make sure you get all the most recent bug fixes of the 3.0.x branch:-
composer create-project --prefer-dist cakephp/app:3.0.* my_app_name
Try
composer create-project --prefer-dist cakephp/app=3.0.0 my_app_name
that's work to me...
composer create-project --prefer-dist cakephp/app ProjectName 3.0
specify version after project name.