Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3924

Custom Console Commands in Symfony

$
0
0

I am trying to customize some console commands in Symfony.

Specifically I want to build a make:customCrud. This console command I want to do as a modified copy of the original, make:crud, since it wouldn't change much. Mainly it would incorporate views that make use of Boostrap and jQuery.

Therefore, and in relation to the above, I also want to create a new console command, something like make:appSetup that automates all the initial tasks of a project. For example, the inclusion of Boostrap, jQuery, Webpack, etc. Ideally, you can also customize with this new command some project files such as the Boostrap .SCSS to adopt institutional logos and colors or config/packages/twig.yaml to configure Boostrap or templates/base.html.twig to include it by default, etc etc.

I don't know if all this is possible or if my approach is wrong. I have read the official documentation (Console Commands) and searched a lot in different places but I have not made much progress.

I would appreciate any suggestions, references or guidance you can give me.

Thank you very much

PS: I apologize for my English. I have translated it directly from Spanish with assistance from google translate.


Viewing all articles
Browse latest Browse all 3924

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>