PHPackages                             imliam/setuphp - 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. imliam/setuphp

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

imliam/setuphp
==============

A tool to set up a PHP project quickly

v0.1.3(1y ago)3315[1 issues](https://github.com/imliam/setuphp/issues)MITPHP

Since Mar 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/imliam/setuphp)[ Packagist](https://packagist.org/packages/imliam/setuphp)[ RSS](/packages/imliam-setuphp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

Setuphp
=======

[](#setuphp)

Get up-and-running with a new PHP project in seconds. Setuphp is a CLI tool designed to scaffold and streamline new PHP projects by setting up Git repositories, CI workflows, and common development tooling—all through a series of interactive prompts.

Features
--------

[](#features)

- **Git Integration:**Initialize a local Git repository, create an initial commit, and set up a remote repository. If the [GitHub CLI](https://cli.github.com/) is installed, Setuphp can automatically create a remote repository for you.
- **CI Workflow Setup:**Automatically generate CI configuration files for GitHub Actions or GitLab CI by detecting your project's remote repository and available tools (such as Pest, PHPUnit, PHPStan, or Psalm).
- **Tooling Installation:**Install popular test frameworks (Pest or PHPUnit), browser testing tools (Laravel Dusk or Laracasts Cypress for Laravel apps), static analysis tools (PHPStan with Larastan or Psalm with its Laravel plugin), and code style tools (php-cs-fixer or Laravel Pint) based on your preferences.
- **Interactive Setup:**Designed to work in your existing PHP project. Setuphp uses interactive prompts to guide you through configuring your project, from creating a `composer.json` file (if missing) to installing and configuring dependencies.

Installation
------------

[](#installation)

Setuphp requires PHP. Using Composer, you can install Setuphp globally with the following command:

```
composer global require imliam/setuphp
```

Alternatively, you can use [cpx](https://cpx.dev) to run Setuphp:

```
cpx imliam/setuphp
```

Usage
-----

[](#usage)

Run the `setuphp` command in the root directory of your PHP project to start the interactive setup process that will walk you through everything:

```
setuphp
```

Alternatively, you can run individual commands if you want to focus on only certain steps:

```
setuphp git
setuphp ci
setuphp tooling
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance43

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

4

Last Release

443d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e8a14b9f997cf85aacea7d39da9dc33c38cc05fe03360578327ea9bcb25f4d9?d=identicon)[ImLiam](/maintainers/ImLiam)

---

Top Contributors

[![imliam](https://avatars.githubusercontent.com/u/4326337?v=4)](https://github.com/imliam "imliam (8 commits)")

### Embed Badge

![Health badge](/badges/imliam-setuphp/health.svg)

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

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9475.0M86](/packages/livewire-flux)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[internal/dload

Downloads binaries.

98142.7k10](/packages/internal-dload)[overtrue/php-opencc

中文简繁转换，支持词汇级别的转换、异体字转换和地区习惯用词转换（中国大陆、台湾、香港、日本新字体）。基于 \[BYVoid/OpenCC\](https://github.com/BYVoid/OpenCC) 数据实现。

12130.7k](/packages/overtrue-php-opencc)

PHPackages © 2026

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