Php 更改Workbench/Package Laravel 4中生成控制器的默认位置

Php 更改Workbench/Package Laravel 4中生成控制器的默认位置,php,laravel-4,Php,Laravel 4,我目前正试图让我的团队和我更容易为我们的包生成控制器。我知道我可以使用php artisan controller:make--path,但我更愿意使用--package或--bench命令 基本上,我已经将所有文件夹从src移动到src/Vendor/Package,包括我的controllers/如果我要使用php artisan controller:make--bench Vendor/Package controller,那么它会在src/controllers内部生成它,我不希望它这

我目前正试图让我的团队和我更容易为我们的包生成控制器。我知道我可以使用php artisan controller:make--path,但我更愿意使用--package或--bench命令

基本上,我已经将所有文件夹从src移动到src/Vendor/Package,包括我的controllers/如果我要使用php artisan controller:make--bench Vendor/Package controller,那么它会在src/controllers内部生成它,我不希望它这样做

每当我以这种方式生成控制器时,我希望它默认为src/Vendor/Package,并希望知道更改位置的最佳方法


如果能在这方面得到任何帮助,我将不胜感激,因为我四处搜索,没有找到任何关于这一主题的信息。

尝试安装JeffreyWay发电机。生成器允许您通过--路径--工作台标志等