PHPackages                             pbaszak/lib-skeleton - 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. pbaszak/lib-skeleton

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

pbaszak/lib-skeleton
====================

A minimal project that allows you to quickly create a new library based on Symfony using useful tools: standard-version, php-cs-fixer, phpstan, phpunit.

1.2.0(2y ago)011MITPHPPHP &gt;=8.2

Since Nov 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/patrykbaszak/lib-skeleton)[ Packagist](https://packagist.org/packages/pbaszak/lib-skeleton)[ RSS](/packages/pbaszak-lib-skeleton/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (1)Versions (10)Used By (0)

Lib Skeleton
============

[](#lib-skeleton)

A minimal project that allows you to quickly create a new library based on Symfony using useful tools: `standard-version`, `php-cs-fixer`, `phpstan`, `phpunit`, `docker`, `xdebug` and my own `starting script`. It is ready to support debugging with Visual Studio Code - just look into `.env.local` ;).

### WHY?

[](#why)

### How to start

[](#how-to-start)

Create directory for Your project, get in (`cd {Your directory}`) and run command:

```
composer create-project pbaszak/lib-skeleton . --no-interaction
```

Start local environment using this command:

```
# first use
bash start.sh vendor/package

# all next uses
bash start.sh
```

and voila! Your local environment is ready to development library with useful tools.

### How to use **Standard Version**

[](#how-to-use-standard-version)

If You don't have node\_modules directory run:

```
npm install
```

First release:

```
npm run version:first-release
```

`Major`, `Minor`, `Patch` version update:

```
npm run version:major
# or
npm run version:minor
# or
npm run version:patch
```

Push tags:

```
npm run version:release
# or
npm run release
```

Check `package.json` for understand what commands do.

### How to use **PHPStan**

[](#how-to-use-phpstan)

Main command:

```
docker exec php composer code:analyse
```

but, if You need to add errors to ignored:

```
docker exec php composer code:analyse:b
```

### How to use **PHP CS Fixer**

[](#how-to-use-php-cs-fixer)

```
docker exec php composer code:fix
```

### How to use **XDebug** in **Visual Studio Code**

[](#how-to-use-xdebug-in-visual-studio-code)

Create new file in Your project: `.vscode/launch.json`

```
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Listen for xDebug",
            "type": "php",
            "request": "launch",
            "port": 5902,
            "hostname": "0.0.0.0",
            "pathMappings": {
                "/app/": "${workspaceRoot}"
            }
        }
    ]
}
```

Uncomment environments in `.env.local`:

```
XDEBUG_MODE=develop,debug
XDEBUG_CONFIG=" client_port=5902 idekey=VSCODE client_host=host.docker.internal discover_client_host=0 start_with_request=yes"
```

Type `Ctrl + Shift + D` and run `Listen for xDebug`.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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 ~11 days

Recently: every ~22 days

Total

9

Last Release

819d ago

Major Versions

0.1.4 → 1.0.02023-11-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/145db325ca53baabce2d955faebe43d56bc4f3122b9ae463d41ee0e5da487cea?d=identicon)[patrykbaszak](/maintainers/patrykbaszak)

---

Top Contributors

[![patrykbaszak](https://avatars.githubusercontent.com/u/66377724?v=4)](https://github.com/patrykbaszak "patrykbaszak (26 commits)")

---

Tags

libraryskeletonsymfonysymfonySkeleton

### Embed Badge

![Health badge](/badges/pbaszak-lib-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/pbaszak-lib-skeleton/health.svg)](https://phpackages.com/packages/pbaszak-lib-skeleton)
```

###  Alternatives

[flagception/flagception-bundle

Feature toggle bundle on steroids.

283.8M](/packages/flagception-flagception-bundle)[sineflow/clamav

ClamAV PHP Client for Symfony

10168.5k](/packages/sineflow-clamav)

PHPackages © 2026

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