laravel / ideas

Issues board used for Laravel internals discussions.
939 stars 28 forks source link

Allow overriding stub files #1931

Open Jamesking56 opened 4 years ago

Jamesking56 commented 4 years ago

For example, when we run php artisan make:migration ... it generates a migration from a stub.

It would be helpful (especially in larger teams) to customise these stubs to follow certain coding standards and practices.

ludo237 commented 4 years ago

I suggest to override the console command itself

fheider commented 4 years ago

+1

crynobone commented 4 years ago

It's already added to Laravel 7

jwalton512 commented 4 years ago

@crynobone I see in 7.x where some commands are resolving the stub path.

But some commands don't.

Any insight on why some don't?