PHPackages                             psx/sample - 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. psx/sample

ActiveLibrary

psx/sample
==========

PSX sample project

v6.0.0(4y ago)21.1k1MITPHPPHP &gt;=8.0

Since Sep 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/apioo/psx-sample)[ Packagist](https://packagist.org/packages/psx/sample)[ Docs](https://phpsx.org)[ Fund](https://www.paypal.me/fusioapi)[ GitHub Sponsors](https://github.com/chriskapp)[ RSS](/packages/psx-sample/feed)WikiDiscussions master Synced 6d ago

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

PSX Sample
==========

[](#psx-sample)

About
-----

[](#about)

This is a sample application which can bootstrap a project based on the PSX framework. You can install it through composer

> composer create-project psx/sample .

More information about PSX at

Configuration
-------------

[](#configuration)

In the configuration.php file change the key `psx_url` to the absolute url to the `public/` folder. If you have setup a vhost this is simply the domain.

Getting started
---------------

[](#getting-started)

In the following a few explanations about the important parts of the API.

- `src/Api/Population/Collection.php`
    This is the class which represents the `/population` endpoint
- `src/Service/Population.php`
    Service class which contains the business logic of the API.
- `src/Dependency/Container.php`
    DI container which provides the population service
- `tests/Api/Population/CollectionTest.php`Contains the PHPUnit test case for the `/population` endpoint. If you have phpunit installed you can run the tests in the root of the project with the phpunit command.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

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

Recently: every ~356 days

Total

51

Last Release

1601d ago

Major Versions

v1.2.4 → v2.0.02016-04-29

v2.0.6 → v3.0.02016-12-24

v3.2.2 → v4.0.02017-12-31

v4.1.2 → v6.0.02021-12-28

PHP version history (5 changes)v1.0.0PHP &gt;=5.3

v2.0.6PHP &gt;=5.5

v3.0.0PHP &gt;=5.6

v3.1.0PHP &gt;=7.0

v6.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2505846?v=4)[Christoph Kappestein](/maintainers/chriskapp)[@chriskapp](https://github.com/chriskapp)

---

Top Contributors

[![chriskapp](https://avatars.githubusercontent.com/u/2505846?v=4)](https://github.com/chriskapp "chriskapp (138 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/psx-sample/health.svg)

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

###  Alternatives

[psx/psx

PHP REST API Framework

17112.6k3](/packages/psx-psx)[fusio/impl

Fusio implementation

1226.8k1](/packages/fusio-impl)

PHPackages © 2026

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