Extension in Gulp file

Can someone help me with the extension of my gulp.js? I have currently been able to create a setting for myself which I have put here:

Now I would like to extend this setup as follows:

  • I want to be able to create .php files in the src/ directory, which include other php files that are in the /src/inc folder.
  • When running gulp serve I would like to have these php-files converted to HTML-files, also it should be possible to run this conversion as a standalone task.
  • There seems to be a gulp package (gulp-php2html) for this purpose
  • But I can’t manage to extend the setting, i.e. Gulp-JS and package.json accordingly.

Is there anyone who could support me to achieve my goal? I am a complete beginner on this topic.