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 today

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

25

—

LowBetter than 35% of packages

Maintenance40

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

489d 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

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.2k](/packages/friendsofphp-php-cs-fixer)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)

PHPackages © 2026

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