php artisan workbench vendor/package --resources
命令在 laravel 5 中不可用,但现在如何在 laravel 5 中创建包?
command is not available in laravel 5, but how now create package in laravel 5 ?
laravel 工作台已在 laravel 5 中重命名为文档中的Package Development"
The laravel workbench has been renamed in laravel 5 to "Package Development" in the documentation
http://laravel.com/docs/master/packages
请注意,不再有工作台命令,您需要创建自己的包结构,因为 Laravel 创建者希望限制创建的包与 Laravel 框架之间的依赖关系 (#ref)
Notice that there is no longer a workbench command and you need to create your own package structure, as the Laravel creator want to limit the dependency between created packages and the Laravel framework (#ref)
更新: Laravel 5 现在很稳定,illuminate/workbench
包可以在 Laravel 5 应用程序中使用,正如我在 这篇文章
UPDATE: Laravel 5 is now stable and the illuminate/workbench
package can be used in a laravel 5 application as I suggested in this post
这篇关于如何在 Laravel 5 中创建包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!