https://jimbarnes.dev/posts/managing-automating-composer-part-2/
Managing and Automating Your Composer Packages - Part 2 - Jim Barnes Development