PHPackages                             hi-folks/ghygen - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. hi-folks/ghygen

ActiveProject[Framework](/categories/framework)

hi-folks/ghygen
===============

The skeleton application for the Laravel framework.

1.0.0(2y ago)3313437[1 issues](https://github.com/Hi-Folks/gh-actions-yaml-generator/issues)MITPHPPHP ^8.2CI passing

Since Jan 3Pushed 9mo ago8 watchersCompare

[ Source](https://github.com/Hi-Folks/gh-actions-yaml-generator)[ Packagist](https://packagist.org/packages/hi-folks/ghygen)[ RSS](/packages/hi-folks-ghygen/feed)WikiDiscussions develop Synced today

READMEChangelog (10)Dependencies (18)Versions (39)Used By (0)

 [![GitHub Workflow Status (develop branch)](https://camo.githubusercontent.com/483832b871400591632bbf1dcd0e4cadabe16f5d2b5f173cc24abfeb91ef5c1f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f48692d466f6c6b732f67682d616374696f6e732d79616d6c2d67656e657261746f722f636865636b2d7068702e796d6c3f6272616e63683d646576656c6f70267374796c653d666f722d7468652d6261646765)](https://github.com/Hi-Folks/gh-actions-yaml-generator/actions) [![GitHub release (latest by date)](https://camo.githubusercontent.com/423be82eaab1cc2a2d9e99527b8794f2b479ff9191b5a3b946c25bf0da25682b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f48692d466f6c6b732f67682d616374696f6e732d79616d6c2d67656e657261746f723f7374796c653d666f722d7468652d6261646765)](https://github.com/Hi-Folks/gh-actions-yaml-generator/releases) [![Website](https://camo.githubusercontent.com/a7d48329ef12d682f2dfb91efc2e4c8a31ec4ee47b77fd7c11c181fdb8339b55/68747470733a2f2f696d672e736869656c64732e696f2f776562736974653f6c6162656c3d44656d6f25323053697465267374796c653d666f722d7468652d62616467652675726c3d687474707325334125324625324667687967656e2e68692d666f6c6b732e646576253246)](https://ghygen.hi-folks.dev/)

[![Ghygen](ghygen-github-actions-yaml-generator-laravel.png "Ghygen")](ghygen-github-actions-yaml-generator-laravel.png)

 Ghygen
========

[](#----ghygen)

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

**Ghygen** allows you creating your **Yaml** file for **GitHub Actions**, for Laravel/PHP web application, so you can:

- select triggering events: manually or automatically, when the developer *push* the code on a specific branch, or a developer create a new *Pull Request*;
- select branches;
- enable caching for all vendors;
- enable **caching** PHP packages;
- select **multiple** PHP versions (8.3, 8.2, 8.1, 8.0, 7.4);
- select **multiple 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;
- select **Node** version for NPM (executing scripts via `npm run`);
- caching node packages;
- setup **Mysql** Database service;
- setup **PostgreSQL** Database service;
- setup **Sqlite** in memory database;
- run migrations;
- **execute tests** via phpunit;
- **execute tests** via PestPHP;
- static **code analysis** with phpstan or psalm;
- create Sarif report (with Psalm) for **GitHub integration with code scanning**;
- code sniffer (via phpcs for **PSR12** compatibility);
- **validate Yaml** file;
- execute **Browser Test** via Laravel Dusk.
- Run **Deployments** via Ploi using [Ploi Deploy Action](https://github.com/Glennmen/ploi-deploy-action).

If you want to test and use quickly this tool, I deployed the codebase (`develop` branch) on Digital Ocean Platform:

- [Ghygen Demo](https://ghygen.hi-folks.dev/).

If you want to start using it locally you can clone the repo and install it following the instructions below.

Command line
------------

[](#command-line)

Ghygen is also a command line tool for generating **automatically** a GitHub Actions workflow Yaml file. You can install Gygen as project with composer:

```
composer create-project hi-folks/ghygen
cd ghygen
```

Once you installed Ghygen, you can execute:

```
php artisan ghygen:generate --projectdir=../otherproject
```

Where `../otherproject` is the directory (absolute or relative path name) with your Laravel project (application or package) that yuo want to automatically generate the GitHub Actions workflow yaml file.

This command, will extract information from some project file like:

- `composer.json`
- `package.json` (if it exists)
- `.env` file
- ... and other assets

in order to guess a configuration for your GitHub Actions workflow.

By default, the command execution will show the Yaml workflow file in the standard output. If you want to save it in a file, for example the "my-workflow.yml" file, you can use `--save` option:

```
php artisan ghygen:generate  --save=my-workflow.yml
```

If you want to autogenerate Yaml file in the `.github/workflows` directory use `--save=auto`:

```
php artisan ghygen:generate  --save=auto
```

The file name will be created with the `name` value found in the `composer.json`.

So if you want to generate the workflow for the project in the directory `../myproject`, you can execute the command with `--projectdir` and the `--save` options:

```
php artisan ghygen:generate --projectdir=../myproject/ --save=auto
```

The Ghygen Web version
----------------------

[](#the-ghygen-web-version)

### Install the Web version

[](#install-the-web-version)

For running the Web version of Ghygen, you can clone source code, enter the new directory and perform a couple of instructions:

```
git clone https://github.com/Hi-Folks/gh-actions-yaml-generator.git
cd gh-actions-yaml-generator
make install
```

Then create your database and update the .env file with the right values for DB\_\* .

Once your Database is configured you can execute the migrations:

```
php artisan migrate
```

Start development server

```
php artisan serve
```

Open the browser to the URL:

### Usage

[](#usage)

Follow these steps:

- access to the form (by default the URL is  if you run php artisan serve);
- fill the form;
- click on "Generate Yaml File" button.

[![github-actions-generator-laravel](github-actions-generator-laravel.png "github-actions-generator-laravel")](github-actions-generator-laravel.png)

Next, copy the content of your generated Yaml in a new file in your Laravel project *.github/workflows/laravel\_workflow.yaml* .

Commit and push the new file.

If you configured "On - Push" you will see the running Actions in your Actions section of your GitHub project.

Thanks to
---------

[](#thanks-to)

Thanks to all the people for providing feedback, opening issues, creating Pull Requests. Thank you to all the contributors! You can see the list of contributors [at this section](https://github.com/Hi-Folks/gh-actions-yaml-generator/graphs/contributors).

In the PHP ecosystem, we have many tools that help developers work with great productivity, reliability, and efficiency. One of these tools is JetBrains PHP Storm. JetBrains supports the open-source community by providing licenses for open-source projects. You can find more information in the [Open Source section of the JetBrains website](https://jb.gg/OpenSourceSupport).

[![PhpStorm logo](https://camo.githubusercontent.com/6e9402fe6304759907d1ff65a5d873dfc03907df2b150e91e2e232a46416629e/68747470733a2f2f7265736f75726365732e6a6574627261696e732e636f6d2f73746f726167652f70726f64756374732f636f6d70616e792f6272616e642f6c6f676f732f50687053746f726d5f69636f6e2e706e67)](https://camo.githubusercontent.com/6e9402fe6304759907d1ff65a5d873dfc03907df2b150e91e2e232a46416629e/68747470733a2f2f7265736f75726365732e6a6574627261696e732e636f6d2f73746f726167652f70726f64756374732f636f6d70616e792f6272616e642f6c6f676f732f50687053746f726d5f69636f6e2e706e67)

JetBrains is providing me the license for the Ghygen project. This fills me with joy, because Ghygen has been recognized as a deserving open-source software. Thank you.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance43

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 95.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~31 days

Recently: every ~175 days

Total

38

Last Release

783d ago

Major Versions

0.7.1 → 1.0.02024-03-17

PHP version history (6 changes)v0.1.0PHP ^7.3|^8.0

v0.4.0PHP ^7.4|^8.0

0.5.1PHP ^7.4|^8.0|^8.1

0.6.0PHP ^8.0.2|^8.1

0.6.2PHP ^8.0.2|^8.1|^8.2

1.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/fe3f0e9f35a03ea055996e023bc25cfe408742fe9433f66858b714133da55313?d=identicon)[roberto](/maintainers/roberto)

---

Top Contributors

[![roberto-butti](https://avatars.githubusercontent.com/u/678434?v=4)](https://github.com/roberto-butti "roberto-butti (557 commits)")[![ActuallyConnor](https://avatars.githubusercontent.com/u/20844837?v=4)](https://github.com/ActuallyConnor "ActuallyConnor (11 commits)")[![ashwind-19](https://avatars.githubusercontent.com/u/19575985?v=4)](https://github.com/ashwind-19 "ashwind-19 (3 commits)")[![dansysanalyst](https://avatars.githubusercontent.com/u/79267265?v=4)](https://github.com/dansysanalyst "dansysanalyst (3 commits)")[![zaratedev](https://avatars.githubusercontent.com/u/29809845?v=4)](https://github.com/zaratedev "zaratedev (2 commits)")[![AlessandroMinoccheri](https://avatars.githubusercontent.com/u/3356506?v=4)](https://github.com/AlessandroMinoccheri "AlessandroMinoccheri (2 commits)")[![marulitua](https://avatars.githubusercontent.com/u/2355307?v=4)](https://github.com/marulitua "marulitua (2 commits)")[![tvermaashutosh](https://avatars.githubusercontent.com/u/96707067?v=4)](https://github.com/tvermaashutosh "tvermaashutosh (1 commits)")

---

Tags

generatorgithub-actionshacktoberfestlaravelyamlyaml-configurationframeworklaravel

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/hi-folks-ghygen/health.svg)

```
[![Health](https://phpackages.com/badges/hi-folks-ghygen/health.svg)](https://phpackages.com/packages/hi-folks-ghygen)
```

###  Alternatives

[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[raugadh/fila-starter

Laravel Filament Starter.

614.9k](/packages/raugadh-fila-starter)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
