PHPackages                             skoyah/phpackage - 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. [Templating &amp; Views](/categories/templating)
4. /
5. skoyah/phpackage

ActiveLibrary[Templating &amp; Views](/categories/templating)

skoyah/phpackage
================

Scaffolds a new php package project.

v1.1.1(7y ago)317MITPHP

Since Mar 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/skoyah/phpackage)[ Packagist](https://packagist.org/packages/skoyah/phpackage)[ Docs](https://github.com/skoyah/phpackage)[ RSS](/packages/skoyah-phpackage/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

[![Package icon](package.svg "Icon made by Eucalyp from Flaticon")](package.svg) PHPackage - rapid package scaffolding.
-----------------------------------------------------------------------------------------------------------------------

[](#-phpackage---rapid-package-scaffolding)

[![License](https://camo.githubusercontent.com/c72e3d7b357bde3856ec3e375413591a3fc6893befcada5d14ad73e2cefe41b0/68747470733a2f2f706f7365722e707567782e6f72672f736b6f7961682f70687061636b6167652f6c6963656e7365)](https://packagist.org/packages/skoyah/phpackage)[![Latest Stable Version](https://camo.githubusercontent.com/04f466c2cf52323dac4d89cf7a14b55ed99bdacf21f7eadc0fbd09f443186413/68747470733a2f2f706f7365722e707567782e6f72672f736b6f7961682f70687061636b6167652f762f737461626c65)](https://packagist.org/packages/skoyah/phpackage)[![Total Downloads](https://camo.githubusercontent.com/e45d445a6a2b951b0bb37710e79cbfaeb5f4742e3b66af19664903b624cb8349/68747470733a2f2f706f7365722e707567782e6f72672f736b6f7961682f70687061636b6167652f646f776e6c6f616473)](https://packagist.org/packages/skoyah/phpackage)

How often do you find yourself doing the same things over and over when you want to create a new package?

This package allows you to run a simple console command to quiclkly scaffold a new folder structure for your PHP packages.

---

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

[](#installation)

Start by installing this package on your global composer directory:

```
$ composer global require skoyah/phpackage
```

Usage
-----

[](#usage)

Now everytime you want to create a new package just run the following command on your terminal:

```
$ phpackage new awesome-package-name
```

This will create a folder sructure similar to this:

[![Folder Structure](folder_structure.png)](folder_structure.png)

In addition, if you want to use the well-known template [Skeleton](https://github.com/thephpleague/skeleton), from [The PHP League](https://github.com/thephpleague), just run the same command with the `--src skeleton`flag. This will install the most recent version of that template.

```
$ phpackage new awesome-package-name --src="skeleton"
```

Adding PHPUnit
--------------

[](#adding-phpunit)

If you like to start writting your tests using PHPUnit, make sure to pass the optional flag `--unit` when creating a new package. This will add the `phpunit/phpunit` dev-dependency to your `composer.json` and also create the initial boilerplate to run your tests.

```
$ phpackage new awesome-package-name --unit
```

Easy, right?
------------

[](#easy-right)

You're almost done! Just remember to edit the fields on your `composer.json` and then run `$ composer install` inside your project folder.

> ### Happy coding!
>
> [](#happy-coding)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

6

Last Release

2625d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36083448?v=4)[João Santos](/maintainers/skoyah)[@skoyah](https://github.com/skoyah)

---

Top Contributors

[![skoyah](https://avatars.githubusercontent.com/u/36083448?v=4)](https://github.com/skoyah "skoyah (18 commits)")

---

Tags

packagetemplatedevelopmentskoyahphpackage

### Embed Badge

![Health badge](/badges/skoyah-phpackage/health.svg)

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

PHPackages © 2026

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