Provides laravel artisan support for changing the default generator folder
Install the package via composer:
composer require alpenist/artisan-teleport
Publish the config file with:
php artisan vendor:publish --provider="Ait\ArtisanTeleport\ArtisanTeleportServiceProvider" --tag="config"
Change the namespace of your package root in the published config file, also change the root path relative to base_path() if you need to:
return [
// artisan command namespace
'signature_prefix' => 'create',
'defaults' => [
'assets' => '../../../folder/subfolder',
'base' => '../../../folder/subfolder/src',
'namespace' => 'Acme',
],
'namespaces' => [
'ait' => [
'base_path' => '',
'path' => 'Domain',
'namespace' => 'Acme',
],
'app' => [
'base_path' => '../../../folder/subfolder/src/App',
'path' => '',
'namespace' => 'App',
],
],
];
Assuming prefix is set to create
php artisan create:model Client
Please see CHANGELOG for more information on what has changed recently.
If you discover any security related issues, please use the issue tracker.
The MIT License (MIT). Please see License File for more information.