for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Foundation\Generator\Commands;
use Foundation\Generator\Abstracts\AbstractGeneratorCommand;
class ProviderMakeCommand extends AbstractGeneratorCommand
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'larapi:make:provider';
* The console command description.
protected $description = 'Create a new service provider class for the specified module.';
* The name of the generated resource.
protected $generatorName = 'provider';
* The stub name.
protected $stub = 'provider.stub';
* The file path.
protected $filePath = '/Providers';
protected function stubOptions(): array
return [
'NAMESPACE' => $this->getClassNamespace(),
'CLASS' => $this->getClassName(),
];
}