PHP code example of stephenjude / extended-artisan-commands
1. Go to this page and download the library: Download stephenjude/extended-artisan-commands library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
stephenjude / extended-artisan-commands example snippets
return [
/*
|--------------------------------------------------------------------------
| Default Class Namespace
|--------------------------------------------------------------------------
|
| Here you can configure the default namespace for
| the make:class command.
|
*/
'class_namespace' => '',
/*
|--------------------------------------------------------------------------
| Default Abstract Class Namespace
|--------------------------------------------------------------------------
|
| Here you can configure the default namespace for
| the make:abstract-class command.
|
*/
'abstract_class_namespace' => '',
/*
|--------------------------------------------------------------------------
| Default Interface Namespace
|--------------------------------------------------------------------------
|
| Here you can configure the default namespace for
| the make:interface command.
|
*/
'interface_namespace' => '\Contracts',
/*
|--------------------------------------------------------------------------
| Default Trait Namespace
|--------------------------------------------------------------------------
|
| Here you can configure the default namespace for
| the make:trait command.
|
*/
'trait_namespace' => '\Traits',
/*
|--------------------------------------------------------------------------
| Default Enum Namespace
|--------------------------------------------------------------------------
|
| Here you can configure the default namespace for
| the make:enum command.
|
*/
'enum_namespace' => '\Enums',
];