PHPackages                             slothsoft/unity - 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. [API Development](/categories/api)
4. /
5. slothsoft/unity

ActiveLibrary[API Development](/categories/api)

slothsoft/unity
===============

Slothsoft's Unity API

2.19.8(1mo ago)01.0kMITPHPPHP &gt;=8.2CI passing

Since Dec 25Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Faulo/slothsoft-unity)[ Packagist](https://packagist.org/packages/slothsoft/unity)[ Docs](http://farah.slothsoft.net/modules/unity)[ RSS](/packages/slothsoft-unity/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (28)Versions (126)Used By (0)

Farah Module: Unity CLI
=======================

[](#farah-module-unity-cli)

[![Packagist Version](https://camo.githubusercontent.com/2bc1ea27e57c7f197ed1cb29524f0123e602690dc5a2c6d1b6bd78ecf557a6e0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736c6f7468736f66742f756e697479)](https://packagist.org/packages/slothsoft/unity)[![PHP Version Support](https://camo.githubusercontent.com/dd818a284e5d43905c3f3dca782c3ca8c10f375726bcf0180a2726e79ad9a1f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736c6f7468736f66742f756e697479)](https://www.php.net/)[![Documentation](https://camo.githubusercontent.com/8b4f00897d4a92553f8ba26e6165107c99d8570c592028bc4b07a3bcdc85225a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d7265666572656e63652d626c75652e737667)](https://faulo.github.io/slothsoft-unity/)[![Test Status](https://github.com/Faulo/slothsoft-unity/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/Faulo/slothsoft-unity/actions/workflows/ci-tests.yml)[![license badge](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

An API for common Unity problems.

CLI interface
-------------

[](#cli-interface)

All commands are executed via Composer's [exec](https://getcomposer.org/doc/03-cli.md#exec).

### autoversion

[](#autoversion)

```
> composer exec autoversion

Determine the version of a repository based on its tags and commits.

Usage:
composer exec autoversion plastic|git "path/to/repository"

```

### steam-buildfile

[](#steam-buildfile)

```
> composer exec steam-buildfile

Create a steam build file.

Usage:
composer exec steam-buildfile "path/to/root" "path/to/logs" AppID [DepotID=path/to/depot]+ [SetLive]

```

### unity-build

[](#unity-build)

```
> composer exec unity-build

Run all tests inside a Unity project.

Usage:
composer exec unity-build "path/to/project" ["path/to/build"] [Platform]

```

### unity-documentation

[](#unity-documentation)

```
Create a documentation template for DocFX. The template will be created in a ".Documentation" folder in the project root and can be called from there with "dotnet tool run docfx". The generated documentation will be placed in ".Documentation/html".

Usage:
composer exec unity-documentation "path/to/project" [template=default+mermaid]

Supported templates:
- default
- default+mermaid
- unity
- singulinkfx+mermaid

```

### unity-help

[](#unity-help)

```
Shortcut for calling "unityhub help". Can be used to verify that your Unity Hub installation was succesully located.

Usage:
composer exec unity-help

```

### unity-method

[](#unity-method)

```
Run a specific method inside a Unity project.

Usage:
composer exec unity-method "path/to/project" "Method.To.Execute" ["additional params", ...]

```

### unity-module-install

[](#unity-module-install)

```
Install modules for use in a Unity project. Check for available modules by using the "unity-help" command.

Usage:
composer exec unity-module-install "path/to/project" [module-id]+

```

### unity-package-install

[](#unity-package-install)

```
Create a new Unity project and install a local package into it.

Usage:
composer exec unity-package-install "path/to/project/Packages/path-to-package" "path/to/new-project"

```

### unity-project-setting

[](#unity-project-setting)

```
Get one of the project settings of a Unity project.

Usage:
composer exec unity-project-setting "path/to/project" "setting-name"

```

### unity-project-version

[](#unity-project-version)

```
Get or set the projectVersion of a Unity project.

Usage:
composer exec unity-project-version "path/to/project" get|set ["new-version"]

```

### unity-tests

[](#unity-tests)

```
Run all tests inside a Unity project.

Usage:
composer exec unity-tests "path/to/project" [EditMode|PlayMode|Platform]+

```

Unity Accelerator
-----------------

[](#unity-accelerator)

In order to use a [Unity Accelerator](https://docs.unity3d.com/Manual/UnityAccelerator.html), set the environment variable "UNITY\_ACCELERATOR\_ENDPOINT" to an "ip:port".

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance88

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99.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 ~15 days

Recently: every ~51 days

Total

125

Last Release

46d ago

Major Versions

1.2.8 → 2.0.02022-08-03

PHP version history (5 changes)1.0.0PHP ^7.2

1.1.0PHP 7.2 - 8.0

2.0.0PHP 7.4 - 8.0

2.8.0PHP &gt;=7.4

2.19.8PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/51c81b91e75fb40c6ac3edaca9a3d086351c79e1ca146017968db999c42e4271?d=identicon)[Faulo](/maintainers/Faulo)

---

Top Contributors

[![Faulo](https://avatars.githubusercontent.com/u/7897059?v=4)](https://github.com/Faulo "Faulo (706 commits)")[![SlothsoftCI](https://avatars.githubusercontent.com/u/188984765?v=4)](https://github.com/SlothsoftCI "SlothsoftCI (5 commits)")

---

Tags

docsslothsoftunity

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/slothsoft-unity/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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