PHPackages                             camspiers/php-lib-create - 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. camspiers/php-lib-create

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

camspiers/php-lib-create
========================

Creates a PHP composer library with useful defaults (github repo, phpunit, travis, namespace, php-cs-fixer, README)

22[1 issues](https://github.com/camspiers/php-lib-create/issues)PHP

Since Apr 15Pushed 13y ago1 watchersCompare

[ Source](https://github.com/camspiers/php-lib-create)[ Packagist](https://packagist.org/packages/camspiers/php-lib-create)[ RSS](/packages/camspiers-php-lib-create/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Library Creator
===================

[](#php-library-creator)

Enables you to quickly create a PHP library with the following defaults:

- Composer config
- Github repo
- Namespace
- Phpunit config
- Travis config
- PHP CS Fixer config
- README file

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

[](#installation)

Download the [php-lib-create.phar](http://camspiers.github.io/php-lib-create/php-lib-create.phar) executable.

### Global installation

[](#global-installation)

```
$ wget http://camspiers.github.io/php-lib-create/php-lib-create.phar
$ ln -s $PWD/php-lib-create.phar /usr/local/bin/php-lib-create

```

### Updating

[](#updating)

To stay up to date run

```
$ php php-lib-create.phar self-update

```

Usage
-----

[](#usage)

```
$ php php-lib-create.phar create

```

or

```
$ php php-lib-create.phar create -d ~/somedir

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/51294?v=4)[Cam Spiers](/maintainers/camspiers)[@camspiers](https://github.com/camspiers)

---

Top Contributors

[![camspiers](https://avatars.githubusercontent.com/u/51294?v=4)](https://github.com/camspiers "camspiers (9 commits)")

### Embed Badge

![Health badge](/badges/camspiers-php-lib-create/health.svg)

```
[![Health](https://phpackages.com/badges/camspiers-php-lib-create/health.svg)](https://phpackages.com/packages/camspiers-php-lib-create)
```

###  Alternatives

[gitonomy/gitlib

Library for accessing git

47019.9M63](/packages/gitonomy-gitlib)[functional-php/fantasy-land

Specification for interoperability of common algebraic structures in PHP

396.9M6](/packages/functional-php-fantasy-land)[yceruto/formflow-bundle

Create and manage multistep forms

2417.2k](/packages/yceruto-formflow-bundle)

PHPackages © 2026

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