Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/symfony/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
laravel 4.1.28,symfony/安全建议软件包_Symfony_Laravel 4 - Fatal编程技术网

laravel 4.1.28,symfony/安全建议软件包

laravel 4.1.28,symfony/安全建议软件包,symfony,laravel-4,Symfony,Laravel 4,今天,我的laravel网站更新为4.1.28,并安装了symfony/security。这建议了4个方案: symfony/security suggests installing symfony/class-loader (For using the ACL generateSql script) symfony/security suggests installing symfony/validator (For using the user password constraint) sy

今天,我的laravel网站更新为4.1.28,并安装了symfony/security。这建议了4个方案:

symfony/security suggests installing symfony/class-loader (For using the ACL generateSql script)
symfony/security suggests installing symfony/validator (For using the user password constraint)
symfony/security suggests installing doctrine/dbal (For using the built-in ACL implementation)
symfony/security suggests installing symfony/expression-language (For using the expression voter)

我不确定我是否需要这些包裹。软件包是如何安装的?将它们添加到composer.json或只是composer安装

通常我会说,如果你不知道你需要它做什么。。。你可能不需要它。但是,如果您对这些软件包的功能感兴趣,我建议您访问packagist.org。例如,这里描述了第一个包:如果您单击规范,您将在Github repo处得到更多信息

要安装该软件包,请按照PackageGist的说明(即向composer.json中的require对象添加
“symfony/class loader”:“2.5.*@dev”
)并运行
composer update