PHPackages                             craklabs/skeleton-service - 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. craklabs/skeleton-service

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

craklabs/skeleton-service
=========================

This project is intented to be a skeleton for PHP based services

001PHP

Since Jun 29Pushed 10y ago4 watchersCompare

[ Source](https://github.com/CrakLabs/skeleton-service)[ Packagist](https://packagist.org/packages/craklabs/skeleton-service)[ RSS](/packages/craklabs-skeleton-service/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Skeleton Service
================

[](#skeleton-service)

This project is intented to be a skeleton for PHP based services.

[![Minimum PHP Version](https://camo.githubusercontent.com/b8feeff753e7c6ff51ffd26c612be3c4f292513e413cd0c8884e665ff51dd798/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e342d3838393242462e737667)](https://php.net/)[![Build Status](https://camo.githubusercontent.com/31817687811f0a048da7840f02532fb10a9a1abe1f24e041895c068e882b4616/68747470733a2f2f7472617669732d63692e6f72672f4372616b4c6162732f736b656c65746f6e2d736572766963652e737667)](https://travis-ci.org/CrakLabs/rest-normalizer)[![SensioLabs Insight](https://camo.githubusercontent.com/b2768779230d29c85d707b33749b2ce665f6b750f9a0f84d7c364cd8199d3103/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f31363939363738382d633563392d346635392d383137652d3233353932373535663938642e737667)](https://insight.sensiolabs.com/projects/16996788-c5c9-4f59-817e-23592755f98d)[![License](https://camo.githubusercontent.com/af2bad56655a65bd99e7504a2653936f652b91ea770f1180fae683f30496c10d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6372616b6c6162732f736b656c65746f6e2d736572766963652e737667)](https://packagist.org/packages/craklabs/skeleton-service)

Getting started
===============

[](#getting-started)

```
$ docker build -t crakmedia/skeleton-service:latest .

$ cp docker-compose.yml.dist docker-compose.yml

$ docker-compose run shell

    $ composer install

$ docker-compose up

```

Overriding default settings
===========================

[](#overriding-default-settings)

Should over need to override the default configuratio for any of the services runing within the container, you can add docker volumes to your docker-compose.yml. As an example, say you need to modify the default nginx configuration provided by the base image. In this case you just need to add a new voluming mapping under the volumes section in your docker-compose.yml file:

```
volumes:
 ... existing mappings ...
 - /path/to/nginx.conf:/etc/nginx/nginx.conf

```

The following is a list of files/directories added in the base image, which could be overriden:

```
- /etc/nginx/conf.d
- /etc/nginx/nginx.conf
- /etc/php.ini
- /etc/php-fpm.conf
- /etc/php-fpm.d

```

Of course you can always use docker volumes to override any file/directory within a running container. See [here](https://docs.docker.com/userguide/dockervolumes/) for more details.

Migrations
==========

[](#migrations)

Run migrations

```
$ docker-compose run shell

$ php app/console migrations:migrate

```

Tests
=====

[](#tests)

First, go in your container shell

```
$ docker-compose run shell

```

Copy `tests/config.yml.dist` to `tests/config.yml` and configure your test database

```
$ cp tests/config.yml.dist tests/config.yml

```

Functional tests

```
$ bin/behat

```

Generate doc
============

[](#generate-doc)

Install apidoc

```
$ npm install apidoc -g

```

Generate doc

```
$ apidoc -i src/Controller/ -o doc

```

Launch `doc/index.html` with your browser.

Monitor your metrics
====================

[](#monitor-your-metrics)

In order to monitor metrics of application, you should use $app\['monitor'\]. For more information about how to use, see [documentation of the client](https://github.com/thephpleague/statsd)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

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://www.gravatar.com/avatar/77150942303bd4f85da4bd96c5ba4332f9eb2605d4f1caa036687fb3e26924fa?d=identicon)[sylwit](/maintainers/sylwit)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/craklabs-skeleton-service/health.svg)

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

###  Alternatives

[stuttter/wp-user-profiles

A sophisticated way to edit users in WordPress

11219.3k1](/packages/stuttter-wp-user-profiles)[fof/analytics

Tracks analytics using Google Analytics, Google Optimize/GTM and Matomo

3543.1k](/packages/fof-analytics)[chrico/wp-fields

Package which provides some re-usable fields for WordPress.

1981.2k](/packages/chrico-wp-fields)[aertmann/history

An improved history backend module for Neos

1070.2k](/packages/aertmann-history)

PHPackages © 2026

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