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

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

paysera/skeleton-lib
====================

Skeleton for new GitHub based libraries

1.0.0(7y ago)313MITPHPPHP &gt;=7.0

Since Dec 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/paysera/skeleton-lib)[ Packagist](https://packagist.org/packages/paysera/skeleton-lib)[ RSS](/packages/paysera-skeleton-lib/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Paysera PHP library skeleton
============================

[](#paysera-php-library-skeleton)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e47b5fd9742cd16674bc5afeaa5b2f8bbeaffeefff552eff13cdeb1468536d2b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f3a76656e646f722f3a7061636b6167655f6e616d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/:vendor/:package_name)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/cb11179311e640818ab161382ab46616c3056e3374c94f90fdc6d06a309cf73b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f3a76656e646f722f3a7061636b6167655f6e616d652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/:vendor/:package_name)[![Coverage Status](https://camo.githubusercontent.com/77bd9748066a4737af2be4a15b71865967905bfc6aa38aabed0996acb7fb2bbb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f3a76656e646f722f3a7061636b6167655f6e616d652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/:vendor/:package_name/code-structure)[![Quality Score](https://camo.githubusercontent.com/5ea237d9c7d6af5499007b76e317965f8bdfa4596fd71c22cd7fe2cb818594cc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f3a76656e646f722f3a7061636b6167655f6e616d652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/:vendor/:package_name)[![Total Downloads](https://camo.githubusercontent.com/2e7d96ffc3c5f08e269c45f38de91ce489968312df30848d817105c5ada0d9cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f3a76656e646f722f3a7061636b6167655f6e616d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/:vendor/:package_name)

This is a skeleton for a new GitHub-based PHP library.

Following steps:

- change `composer.json` file:
    - change `name` and `description` fields;
    - change namespaces;
    - change `type` from `library` to `symfony-bundle` if it's a Symfony bundle;
    - add keywords;
    - add any additional requirements;
- change year (and/or author) in `LICENCE` if needed;
- update this readme:
    - replace all `:vendor/:package_name` occurences with the vendor and name of your library;
    - read and replace TODOs in the readme;
- change / add files in `src` directory, don't forget to modify namespace;
- change / add test cases in `tests` directory, don't forget to modify namespace;
- after pushing initial commit, add the library in [Packagist](https://packagist.org/), [Travis](https://travis-ci.org/) and [Scrutinizer](https://scrutinizer-ci.com/).

With each relase:

- you can fix code style with `composer fix-cs`;
- you can run tests and code-style checks with `composer test`;
- don't forget to update `CHANGELOG.md`.

To start a library using this skeleton:

```
composer create-project paysera/skeleton-lib directory-name

```

Following readme is just the structure for your new library and is not related to the skeleton itself.

🔴 **TODO: Change this part and title with description about the library.**

Why?
----

[](#why)

🔴 **TODO: Explain when and why developers should use this library – it's main purpose and/or differences from other solutions.**

You can also rename this to `## Features` or other purpose-like header.

Remove this part if purpose is already clear from the main description.

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

[](#installation)

```
composer require :vendor/:package_name
```

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

[](#configuration)

🔴 **TODO: explain bundle configuration or remove this part for non-bundle libraries.**

```
paysera_something:
  field: value
```

Usage
-----

[](#usage)

🔴 **TODO: Explain how to use this library. Use code samples for better understanding.**

Semantic versioning
-------------------

[](#semantic-versioning)

This library follows [semantic versioning](http://semver.org/spec/v2.0.0.html).

See [Symfony BC rules](http://symfony.com/doc/current/contributing/code/bc.html) for basic information about what can be changed and what not in the API.

🔴 **TODO: Remove following part of this section or use instead of previous one. Remove irrelevant items, like twig functions, if they are not provided by your library.**

This bundle follows [semantic versioning](http://semver.org/spec/v2.0.0.html).

Public API of this bundle (in other words, you should only use these features if you want to easily update to new versions):

- only services that are not marked as `public="false"`
- only classes, interfaces and class methods that are marked with `@api`
- twig functions and tags
- console commands
- supported DIC tags

For example, if only class method is marked with `@api`, you should not extend that class, as constructor could change in any release.

See [Symfony BC rules](https://symfony.com/doc/current/contributing/code/bc.html) for basic information about what can be changed and what not in the API. Keep in mind, that in this bundle everything is `@internal` by default.

Running tests
-------------

[](#running-tests)

```
composer update
composer test

```

Contributing
------------

[](#contributing)

Feel free to create issues and give pull requests.

You can fix any code style issues using this command:

```
composer fix-cs

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2751d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d385187c2b529d5c1189dfc3763972f76738d24293593ff3db876fff82321db?d=identicon)[paysera.com](/maintainers/paysera.com)

---

Top Contributors

[![mariusbalcytis](https://avatars.githubusercontent.com/u/1590072?v=4)](https://github.com/mariusbalcytis "mariusbalcytis (7 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[mtdowling/burgomaster

Packages up PHP packages into zips and phars

2680.9k12](/packages/mtdowling-burgomaster)[akkaweb/cakephp-facebook

CakePHP 3 Facebook Plugin

2114.9k](/packages/akkaweb-cakephp-facebook)

PHPackages © 2026

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