Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Generate automatically Workflow files
Roberto B.
Roberto B.

Posted on

     

Generate automatically Workflow files

Ghygen is an open source application for generatingGitHub Actions Workflow files.
It is optimized for generating Workflow for PHP or Laravel applications. It provides two kind of user interface:

  • a Web interface where you have a form to fill with the characteristic of your application;
  • a CLI, a command for your terminal.

My Workflow

The command line tool tries to detect some functionalities of your application like:

  • PHP versions (from composer.json);
  • Dependency stability ( from composer.json);
  • Code sniffer (from require-dev);
  • Static code analysis tool (from require-dev);
  • Static code analysis configuration (for example phpstan.neon)
  • Database requirements;
  • migrations to execute;
  • NodeJS dependencies/version.

Once all of these things are detected the command line, it creates a YAML workflow file -magically 🧙‍♂️

Image description

Submission Category:

Maintainer Must-Haves

Yaml File or Link to Code

GitHub logo Hi-Folks / gh-actions-yaml-generator

Ghygen is a GitHub Actions configurator for your PHP / Laravel project.

GitHub Workflow Status (develop branch)GitHub release (latest by date)Website

Ghygen

Ghygen

Ghygen is a GitHub Actions configurator for your PHP / Laravel project.

Ghygen allows you creating yourYaml file forGitHub Actions, for Laravel/PHP web application, so you can:

  • select triggering events: manually or automatically, when the developerpush the code on a specific branch, or a developer create a newPull Request;
  • select branches;
  • enable caching for all vendors;
  • enablecaching PHP packages;
  • selectmultiple PHP versions (8.3, 8.2, 8.1, 8.0, 7.4);
  • selectmultiple Laravel versions (11, 10, 9, 8, 7, 6), useful if you are developing a Laravel Package and you want to test it with multiple Laravel version;
  • selectNode version for NPM (executing scripts vianpm run);
  • caching node packages;
  • setupMysql Database service;
  • setupPostgreSQL Database service;
  • setupSqlite in memory database;
  • run migrations;
  • execute tests via phpunit;
  • execute tests via PestPHP;
  • staticcode analysis with phpstan or psalm;
  • create Sarif…




Additional Resources / Info

Yaml files probably generated using Ghygen:https://github.com/search?l=YAML&q=ghygen&type=Code

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

PHP enthusiast, passionate about quality tools, AI exploration, and sharing knowledge through articles. Automation is my playground; I’m always learning, innovating, and pushing boundaries.
  • Location
    Italy
  • Work
    Senior Solutions Engineer @Storyblok
  • Joined

More fromRoberto B.

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp