我对 Laravel 4 和 Composer 还是很陌生.当我做 Laravel 4 教程时,我无法理解这两个命令之间的区别;php artisan dump-autoload
和 composer dump-autoload
他们有什么区别?
I am pretty new to Laravel 4 and Composer. While I do Laravel 4 tutorials, I couldn't understand the difference between those two commands; php artisan dump-autoload
and composer dump-autoload
What's the difference between them?
Laravel 的
Autoload
有点不同:
它实际上会使用 Composer
来处理一些 stuff
它将调用带有优化flag
它将重新编译
"大量文件创建巨大的bootstrap/compiled.php
It will 'recompile
' loads of files creating the huge bootstrap/compiled.php
还会一一找到你所有的 Workbench 包和 composer dump-autoload
.
And also will find all of your Workbench packages and composer dump-autoload
them, one by one.
这篇关于“php artisan dump-autoload"之间有什么区别?和“作曲家转储自动加载"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!