PHPackages                             csgt/utils - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. csgt/utils

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

csgt/utils
==========

CSGT Utils

v10.0.9(today)02.5k21PHPPHP &gt;=7.2

Since Sep 4Pushed 1w ago3 watchersCompare

[ Source](https://github.com/csgt/utils)[ Packagist](https://packagist.org/packages/csgt/utils)[ RSS](/packages/csgt-utils/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (62)Used By (1)

Utils
=====

[](#utils)

This package is used as utilities for the csgt packages.

Package VersionLaravel UICancerberoCrud versionMenu TableAdminLTEVuePHPWebserver5.0nonames?es?2?nginx6.0nonames?en?2?nginx5.7nonames?en?2?nginx7.0yesnames?en?2?nginx8.0yesnames7en3.2.0-beta2?nginx9.0yesnames8en4.0.0-alpha38.1octane10.0yesnames8en4.0.0-alpha38.2octaneTo render the menu, use the following snippet. This will auto-generate the required structure needed for the `csgt\menu` package.

CI/CD Pipeline
--------------

[](#cicd-pipeline)

Publish a GitHub Actions workflow that runs CI (code style, tests, frontend build) on every push and pull request, and deploys to production on the main branch only when CI passes.

```
php artisan make:csgtci
```

This creates `.github/workflows/ci.yml`. Everything is auto-detected so the bare command works without flags: the trigger/deploy branch is the repository's default branch (works for both `master` legacy and `main` newer projects), the PHP version is read from `composer.json` (`config.platform.php` or `require.php`), and the Node version from `.nvmrc` or `package.json` (`engines.node`). Pass flags only to override the detection:

```
php artisan make:csgtci --php=8.2 --node=18 --branch=master
```

OptionDefaultDescription`--php`auto-detected (`composer.json`)PHP version used by the CI job`--node`auto-detected (`.nvmrc`/`package.json`)Node version used by the CI job`--branch`auto-detectedBranch that triggers CI and deployment`--force`—Overwrite the workflow if it already existsThe `ci` job is universal and rarely needs editing. Projects without tests pass CI harmlessly: the test step skips when no `phpunit.xml` is present and becomes enforcing once tests exist.

The `deploy` job is project-specific (host, Docker, Octane, etc.). Configure the repository secrets:

SecretRequiredDescription`PRODUCTION_HOST`yesServer hostname or IP`PRODUCTION_USER`yesSSH user`PRODUCTION_PATH`yesAbsolute path of the project on the server`PRODUCTION_SSH_KEY`yesUnencrypted private deploy key (no passphrase)`PRODUCTION_SSH_PORT`noSSH port (defaults to 22)`PRODUCTION_SSH_KNOWN_HOSTS`noPinned host key; prevents MITM (falls back to keyscan)`PRODUCTION_HEALTHCHECK_URL`noURL checked after deploy; deploy fails if not HTTP 200CI runs are cancelled when superseded by a newer commit, but deployments are never cancelled mid-flight (concurrent pushes queue) to avoid leaving the server half-migrated.

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance98

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 76.3% 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 ~47 days

Recently: every ~9 days

Total

61

Last Release

0d ago

Major Versions

v7.0.4 → v8.0.02021-06-24

5.7.x-dev → v8.0.112023-03-22

5.0.x-dev → v9.0.02024-01-17

v9.0.8 → v10.0.02025-02-15

8.x-dev → v10.0.62026-05-27

PHP version history (3 changes)v5.7.0PHP &gt;=7.0.0

6.0.0PHP &gt;=7.2

v5.0.1PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7926376?v=4)[csgt](/maintainers/csgt)[@csgt](https://github.com/csgt)

---

Top Contributors

[![jgalindosl](https://avatars.githubusercontent.com/u/66330140?v=4)](https://github.com/jgalindosl "jgalindosl (45 commits)")[![JuanCruzSL](https://avatars.githubusercontent.com/u/222065035?v=4)](https://github.com/JuanCruzSL "JuanCruzSL (5 commits)")[![hlca](https://avatars.githubusercontent.com/u/1301913?v=4)](https://github.com/hlca "hlca (4 commits)")[![adrianfulla](https://avatars.githubusercontent.com/u/84196543?v=4)](https://github.com/adrianfulla "adrianfulla (3 commits)")[![csgt](https://avatars.githubusercontent.com/u/7926376?v=4)](https://github.com/csgt "csgt (1 commits)")[![menene](https://avatars.githubusercontent.com/u/1200545?v=4)](https://github.com/menene "menene (1 commits)")

### Embed Badge

![Health badge](/badges/csgt-utils/health.svg)

```
[![Health](https://phpackages.com/badges/csgt-utils/health.svg)](https://phpackages.com/packages/csgt-utils)
```

###  Alternatives

[stevebauman/wmi

A package for WMI manipulation using PHP and COM.

102.0k](/packages/stevebauman-wmi)

PHPackages © 2026

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