title: How to run script or a method after a bundle install in Symfony 4.2?
body: <p>I'm building a new bundle for my Symfony 4.2 application and I want to run a specific code only once after the bundle installation to set up some skeleton class in the root project. Like the maker bundle but without manual interaction.
  The installed bundle should modify existing configuration yaml of another bundle (of course, once after installed).</p>
  
  <p>I've tried to use the bundle's composer.json script section without luck. I've not found any references in the official documentation how to solve this.</p>
  
  <p>Are there any method to solve this?</p>