Why almost Artisan Commands use "stubs" instead of "blade" files? [request, controller etc.]

Posted 3 years ago by luddinus

Hi.

I'm making a package and I'm doing some artisan commands. I saw the "GeneratorCommand" of Illuminate and other packages and all of them use "stub" files to generate the templates.

I was wondering, why .stub files if we can use "blade" engine to create those engines? (more powerful)

Please sign in or create an account to participate in this conversation.