作曲家创建项目symfony /骨架new_project“ 4.0” [英] Composer create-project symfony/skeleton new_project "4.0"

查看:52
本文介绍了作曲家创建项目symfony /骨架new_project“ 4.0”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它将安装:

Symfony 4.1.3(内核:src,env:dev,debug:true)

Symfony 4.1.3 (kernel: src, env: dev, debug: true)

如何准确安装4.0。*?

How do I get it to install exactly 4.0.*?

composer create-project symfony/skeleton new_project "4.0" Installing symfony/skeleton (v4.0.0)
  - Installing symfony/skeleton (v4.0.0): Loading from cache Created project in aaaa Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 22 installs, 0 updates, 0 removals
  - Installing symfony/flex (v1.0.89): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.9.0): Loading from cache
  - Installing symfony/console (v4.1.3): Loading from cache
  - Installing symfony/routing (v4.1.3): Loading from cache
  - Installing symfony/polyfill-ctype (v1.9.0): Loading from cache
  - Installing symfony/http-foundation (v4.1.3): Loading from cache
  - Installing symfony/event-dispatcher (v4.1.3): Loading from cache
  - Installing psr/log (1.0.2): Loading from cache
  - Installing symfony/debug (v4.1.3): Loading from cache
  - Installing symfony/http-kernel (v4.1.3): Loading from cache
  - Installing symfony/finder (v4.1.3): Loading from cache
  - Installing symfony/filesystem (v4.1.3): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing symfony/dependency-injection (v4.1.3): Loading from cache
  - Installing symfony/config (v4.1.3): Loading from cache
  - Installing psr/simple-cache (1.0.1): Loading from cache
  - Installing psr/cache (1.0.1): Loading from cache
  - Installing symfony/cache (v4.1.3): Loading from cache
  - Installing symfony/framework-bundle (v4.1.3): Loading from cache
  - Installing symfony/yaml (v4.1.3): Loading from cache
  - Installing symfony/dotenv (v4.1.3): Loading from cache Writing lock file Generating autoload files Symfony operations: 4 recipes (df8c84407bbee5e3e826455e7bbdef65)
  - Configuring symfony/flex (>=1.0): From github.com/symfony/recipes:master
  - Configuring symfony/framework-bundle (>=3.3): From github.com/symfony/recipes:master
  - Configuring symfony/console (>=3.3): From github.com/symfony/recipes:master
  - Configuring symfony/routing (>=4.0): From github.com/symfony/recipes:master 

执行脚本缓存:清除[OK]
执行中脚本资产:安装公共[确定]

Executing script cache:clear [OK] Executing script assets:install public [OK]

推荐答案

按原样安装:

composer create-project symfony/skeleton new_project 4.0

它将安装4.1.3,然后在composer.json symfony / framework-bundle中将其更改为〜4.0.0,然后进行composer更新

it will install 4.1.3 and then changing in composer.json symfony/framework-bundle to "~4.0.0" and then composer update

这篇关于作曲家创建项目symfony /骨架new_project“ 4.0”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆