1. <small id='8Bq9y'></small><noframes id='8Bq9y'>

    <i id='8Bq9y'><tr id='8Bq9y'><dt id='8Bq9y'><q id='8Bq9y'><span id='8Bq9y'><b id='8Bq9y'><form id='8Bq9y'><ins id='8Bq9y'></ins><ul id='8Bq9y'></ul><sub id='8Bq9y'></sub></form><legend id='8Bq9y'></legend><bdo id='8Bq9y'><pre id='8Bq9y'><center id='8Bq9y'></center></pre></bdo></b><th id='8Bq9y'></th></span></q></dt></tr></i><div id='8Bq9y'><tfoot id='8Bq9y'></tfoot><dl id='8Bq9y'><fieldset id='8Bq9y'></fieldset></dl></div>
    <legend id='8Bq9y'><style id='8Bq9y'><dir id='8Bq9y'><q id='8Bq9y'></q></dir></style></legend>

    <tfoot id='8Bq9y'></tfoot>

        <bdo id='8Bq9y'></bdo><ul id='8Bq9y'></ul>

      在作曲家 laravel 上安装依赖项(doctrine/dbal)

      Install dependency (doctrine/dbal) on composer laravel(在作曲家 laravel 上安装依赖项(doctrine/dbal))

          <i id='bpi59'><tr id='bpi59'><dt id='bpi59'><q id='bpi59'><span id='bpi59'><b id='bpi59'><form id='bpi59'><ins id='bpi59'></ins><ul id='bpi59'></ul><sub id='bpi59'></sub></form><legend id='bpi59'></legend><bdo id='bpi59'><pre id='bpi59'><center id='bpi59'></center></pre></bdo></b><th id='bpi59'></th></span></q></dt></tr></i><div id='bpi59'><tfoot id='bpi59'></tfoot><dl id='bpi59'><fieldset id='bpi59'></fieldset></dl></div>
              <tbody id='bpi59'></tbody>

            1. <legend id='bpi59'><style id='bpi59'><dir id='bpi59'><q id='bpi59'></q></dir></style></legend><tfoot id='bpi59'></tfoot>
            2. <small id='bpi59'></small><noframes id='bpi59'>

                <bdo id='bpi59'></bdo><ul id='bpi59'></ul>
              • 本文介绍了在作曲家 laravel 上安装依赖项(doctrine/dbal)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在尝试执行迁移以重命名某些列,但出现异常.

                I am trying to execute a migration to rename some columns and I got an exception.

                当我阅读文档时,我必须将教义/dbal 依赖项添加到我的 composer.json 文件中.我怎么做?哪个是正确的 composer.json 文件.我的申请中有很多.是与文件夹 app、bootstrap、public 和 vendor 处于同一级别的那个.

                As I read on the documentation I have to add the doctrine/dbal dependency to my composer.json file. How do I do that? Which is the correct composer.json file. I have many in my application. Is the one that is on the same level as the folders app,bootstrap, public and vendor.

                如果是这样,我该如何添加该依赖项.我需要下载什么吗?

                If so how do I add that dependency. Do I have to download anything?

                顺便说一句,我使用的是easyphp,而不是wamp!

                By the way im using easyphp, not wamp!

                执行此操作后,控制台会抛出此错误

                After doing that the console throws this error

                推荐答案

                要添加此依赖项,请打开项目根目录下的 composer.json(与 app、public 等处于同一级别)并在 require 部分添加像这样的学说/dbal 包:

                To add this dependency open the composer.json at the root of your project (in the same level as app, public etc.) and in the require section add the doctrine/dbal package like:

                "require": {
                    "laravel/framework": "4.1.*",
                    "doctrine/dbal": "v2.4.2"
                },
                

                保存文件并运行 composer update

                编辑

                您可能使用默认设置安装了 git,但它不在您的 PATH 环境中.

                You probably installed git with the default settings and it's not in your PATH env.

                打开 Git Bash(它与 git 一起安装 - 你会在你的程序中找到它)并执行 composer update.顺便说一句,windows 命令提示符要好得多.

                Open Git Bash (it was installed with git - you will find it in your programs) and do composer update. By the way it's far better that windows command prompt.

                这篇关于在作曲家 laravel 上安装依赖项(doctrine/dbal)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)

                    <tbody id='zDr6z'></tbody>
                    <bdo id='zDr6z'></bdo><ul id='zDr6z'></ul>

                      <small id='zDr6z'></small><noframes id='zDr6z'>

                    • <legend id='zDr6z'><style id='zDr6z'><dir id='zDr6z'><q id='zDr6z'></q></dir></style></legend>

                        1. <tfoot id='zDr6z'></tfoot>
                          <i id='zDr6z'><tr id='zDr6z'><dt id='zDr6z'><q id='zDr6z'><span id='zDr6z'><b id='zDr6z'><form id='zDr6z'><ins id='zDr6z'></ins><ul id='zDr6z'></ul><sub id='zDr6z'></sub></form><legend id='zDr6z'></legend><bdo id='zDr6z'><pre id='zDr6z'><center id='zDr6z'></center></pre></bdo></b><th id='zDr6z'></th></span></q></dt></tr></i><div id='zDr6z'><tfoot id='zDr6z'></tfoot><dl id='zDr6z'><fieldset id='zDr6z'></fieldset></dl></div>