We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php artisan stub:publish
I was wondering if we could get support for php artisan stub:publish?
The text was updated successfully, but these errors were encountered:
Yup, It is possible ! I think about it too.
We need to refactor the directory of loaded stubs file from each generator command into custom directory if exist and the fallback is the origin one.
For example :
At file :
src/LumenGenerator/Console/CastMakeCommand.php
There is protected getStub() function :
/** * Get the stub file for the generator. * * @return string */ protected function getStub() { return __DIR__.'/stubs/cast.stub'; }
We should change something like :
/** * Get the stub file for the generator. * * @return string */ protected function getStub() { return (config('flipbox.stub.dir') ? config('flipbox.stub.dir') : __DIR__) . '/stubs/cast.stub'; }
Sorry, something went wrong.
No branches or pull requests
I was wondering if we could get support for php artisan stub:publish?
The text was updated successfully, but these errors were encountered: