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.

那么执行以下命令安装:

composer require friendsofsymfony/user-bundle "[email protected]"

  composer require friendsofsymfony/user-bundle "[email protected]"
./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
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache

 // Clearing the cache for the dev environment with debug true

 [OK] Cache for the "dev" environment (debug=true) was successfully cleared.

> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets

 Trying to install assets as relative symbolic links.

 -- -------- ----------------
     Bundle   Method / Error
 -- -------- ----------------

 [OK] All assets were successfully installed.

> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget

时间: 12-19

Symfony 安装FOUSerBundle的相关文章

Symfony安装及使用

安装Symfony,使用 brew install homebrew/php/symfony-installer 开始一直下载不了包,我手动浏览器下载了几个,发现好像都是Permission问题,运行了下面的命令: sudo chown -R $(whoami) /Users/baidu/Library/Caches/Homebrew/ Symfony安装在: $ which symfony /usr/local/bin/symfony 在以下目录: /Users/baidu/Documents

symfony安装总结

将D:\ApacheServer\php路径添加到环境变量path中,在cmd命令行中可以执行php命令 打开php.ini 打开extension=php_openssl.dll file_put_contents才能访问https网站 cmd定位到指定目录下输入这里是 D:\ApacheServer\web php -r "file_put_contents('symfony', file_get_contents('https://symfony.com/installer'));&quo

symfony的安装

Symfony 是一个基于MVC的PHP框架,最新版本为2.7 工作原理 Synfony安装的两种方法 1.使用composer进行安装 1)下载composer http://getcomposer.org/Composer-Setup.exe安装 2)调用系统命令行 >php composer.phar create-project symfony/framework-standard-edition /path/to/webroot/Symfony '~2.6 (使用composer he

使用Composer安装Symfony

最近的一些项目都会使用symfony框架,首先的第一个问题就是symfony框架的下载及安装,symfony要求的php环境5.5以上的,需要php版本的切换.使用的是windows版的安装起来较为麻烦易出错,出错信息会另外解释.我采用的方法是使用composer安装. Composer是PHP中用来管理依赖(dependency)关系的工具.你可以在自己的项目中声明所依赖的外部工具库(libraries),Composer会帮你安装这些依赖的库文件. 首先安装composer,采用的方法是ne

安装运行symfony框架编写的edusoho开源程序

mac电脑.×××地址:http://www.github.com/edusoho/edusoho官网:http://www.edusoho.com/ 按此教程先安装和设置symfony:http://www.symfonychina.com/doc/current/setup.html 当localhost:8000出现默认页面,就OK了! 指向edusoho/web目录.然后进行,安装检查,设置,确认后.成功安装. 原文地址:http://blog.51cto.com/phpervip/21

symfony 5.05 dev安装为了更好的迭代更新

我的项目目录 安装命令  composer create-project symfony/website-skeleton:^5.0.x-dev manage 数据查询测试输出 原文地址:https://www.cnblogs.com/baiyijiahe/p/12393902.html

Symfony没有安装依赖_PHP Fatal error: require(): Failed opening required

$ php bin/console server:run PHP Warning: require(D:\home\workspace\pd\app/../vendor/autoload.php): failed to open stream: No such file or directory in D:\home\workspace\pinda\pin da\app\autoload.php on line 7 PHP Fatal error: require(): Failed openi

symfony window下的安装 安装时候出现的问题以及解决方案

1. cmd进入DOS  , cd 到 php.exe 的目录下 2.         php -r "readfile('http://symfony.com/installer');" > symfony 3.      把symfony移动到projects(你自己的工作目录)  move symfony  c:\projects 4.  c:\> cd projects/ c:\projects\> php symfony new my_project_nam

symfony 在centos下安装

#FROM daocloud.io/centos:6 #MAINTAINER Larry <[email protected]> rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm && rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm yum -y update &