PHPackages                             mikelooper/slim-infrastructure - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. mikelooper/slim-infrastructure

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

mikelooper/slim-infrastructure
==============================

A package to create microservices

0.0.25(2y ago)0102MITPHPPHP ^8.3

Since Nov 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mikel00per/php-slim-infrastructure)[ Packagist](https://packagist.org/packages/mikelooper/slim-infrastructure)[ Docs](https://github.com/mikel00per/php-slim-microservice)[ RSS](/packages/mikelooper-slim-infrastructure/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (29)Used By (0)

PHP Slim Infrastructure
=======================

[](#php-slim-infrastructure)

This package has been created to manage the creation of a simple microservice. Slim php was wrapped into MicroserviceSlim, also the package control the cache routes, log errors and handle the correct response.

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

[](#configuration)

To use the package you need config the container dependence. You can copy the following files to config your http microservice:

- config/container.php
- config/settings.php
- config/bootstrap.php // File executed by index.php

Make commands
-------------

[](#make-commands)

```
$ make help

Usage: make [target] ...

Tests:
  test                Execute tests
  test-coverage       Execute tests with coverage

Miscellaneous:
  help                Show this help

Container:
  run                 Build and run php container
  build               Build php container
  stop                Stop php container
  destroy             Remove all data related with php container
  shell               SSH in container
  logs                SSH logs in container

Code:
  exec                Execute composer commands

Style:
  lint                Show style errors
  lint-fix            Fix style errors

Written by Antonio Miguel Morillo Chica, version v1.0
Please report any bug or error to the author.
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity9

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

Recently: every ~2 days

Total

25

Last Release

778d ago

PHP version history (3 changes)0.0.1PHP ^8.0

0.0.6PHP ^8.2

0.0.24PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/a146393d44a63698725563297741ef1e232902a67bc636cc7187ae558b30b842?d=identicon)[mikel00per](/maintainers/mikel00per)

---

Top Contributors

[![mikel00per](https://avatars.githubusercontent.com/u/26721529?v=4)](https://github.com/mikel00per "mikel00per (77 commits)")

---

Tags

phpphp-libraryphp82logcontainerPSR-11Settingsdependency-injectionpsr11cacheMicroservice

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mikelooper-slim-infrastructure/health.svg)

```
[![Health](https://phpackages.com/badges/mikelooper-slim-infrastructure/health.svg)](https://phpackages.com/packages/mikelooper-slim-infrastructure)
```

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k48.9M989](/packages/php-di-php-di)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k114.3M154](/packages/sentry-sentry-laravel)[nikolaposa/monolog-factory

Configuration-based Monolog factory

25226.9k2](/packages/nikolaposa-monolog-factory)[phpwatch/simple-container

A fast and minimal PSR-11 compatible Dependency Injection Container with array-syntax and without auto-wiring

1810.1k2](/packages/phpwatch-simple-container)

PHPackages © 2026

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