• Symfony 安装FOUSerBundle


    第一按照官网安装 :

    https://symfony.com/doc/current/bundles/FOSUserBundle/index.html#main

    可能版本无法安装 :

    $ composer require friendsofsymfony/user-bundle "~1.3"
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Conclusion: don't install friendsofsymfony/user-bundle v1.3.7
        - Conclusion: don't install friendsofsymfony/user-bundle v1.3.6
        - Conclusion: don't install friendsofsymfony/user-bundle v1.3.5
        - Conclusion: don't install friendsofsymfony/user-bundle v1.3.4
        - Conclusion: don't install friendsofsymfony/user-bundle v1.3.3
        - Conclusion: don't install friendsofsymfony/user-bundle v1.3.2
        - Conclusion: don't install friendsofsymfony/user-bundle v1.3.1
        - Conclusion: remove symfony/symfony v3.2.7
        - Installation request for friendsofsymfony/user-bundle ~1.3 -> satisfiable by friendsofsymfony/user-bundle[v1.3.0, v1.3.1, v1.3.2, v1
        - Conclusion: don't install symfony/symfony v3.2.7
        - friendsofsymfony/user-bundle v1.3.0 requires symfony/security-bundle 2.1.* -> satisfiable by symfony/security-bundle[v2.1.0, v2.1.1,
    2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9].
        - don't install symfony/security-bundle v2.1.0|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.1|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.10|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.11|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.12|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.13|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.2|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.3|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.4|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.5|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.6|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.7|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.8|don't install symfony/symfony v3.2.7
        - don't install symfony/security-bundle v2.1.9|don't install symfony/symfony v3.2.7
        - Installation request for symfony/symfony (locked at v3.2.7, required as 3.2.*) -> satisfiable by symfony/symfony[v3.2.7].
    
    
    Installation failed, reverting ./composer.json to its original content.
    View Code

    那么执行以下命令安装:

    composer require friendsofsymfony/user-bundle "~2.0@dev"

      composer require friendsofsymfony/user-bundle "~2.0@dev"
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 1 install, 0 updates, 0 removals
      - Installing friendsofsymfony/user-bundle (dev-master 0e41213) Cloning 0e412131e5
    Writing lock file
    Generating autoload files
    > IncenteevParameterHandlerScriptHandler::buildParameters
    Updating the "app/config/parameters.yml" file
    > SensioBundleDistributionBundleComposerScriptHandler::buildBootstrap
    > SensioBundleDistributionBundleComposerScriptHandler::clearCache
    
     // Clearing the cache for the dev environment with debug true
    
     [OK] Cache for the "dev" environment (debug=true) was successfully cleared.
    
    > SensioBundleDistributionBundleComposerScriptHandler::installAssets
    
     Trying to install assets as relative symbolic links.
    
     -- -------- ----------------
         Bundle   Method / Error
     -- -------- ----------------
    
     [OK] All assets were successfully installed.
    
    > SensioBundleDistributionBundleComposerScriptHandler::installRequirementsFile
    > SensioBundleDistributionBundleComposerScriptHandler::prepareDeploymentTarget
    View Code
  • 相关阅读:
    Git在商业项目中的使用流程
    EventBus中观察者模式的应用
    作业三——安卓系统文件助手APP原型设计
    视频剪辑软件的调研——万兴神剪手、视频编辑王、爱剪辑
    18-10-31 Scrum Meeting 3
    myapp——自动生成小学四则运算题目的命令行程序(侯国鑫 谢嘉帆)
    一个「学渣」从零开始的Web前端自学之路
    Vue一个案例引发「内容分发slot」的最全总结
    Vue CLI 3.0脚手架如何在本地配置mock数据
    Vue一个案例引发「动画」的使用总结
  • 原文地址:https://www.cnblogs.com/Amos-Turing/p/6731179.html
Copyright © 2020-2023  润新知