PHPackages                             skoro/slim-swoole-project - 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. [Framework](/categories/framework)
4. /
5. skoro/slim-swoole-project

ActiveProject[Framework](/categories/framework)

skoro/slim-swoole-project
=========================

Slim Framework + Swoole project boilerplate

791[4 issues](https://github.com/skoro/slim-swoole-project/issues)[2 PRs](https://github.com/skoro/slim-swoole-project/pulls)PHP

Since Nov 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/skoro/slim-swoole-project)[ Packagist](https://packagist.org/packages/skoro/slim-swoole-project)[ RSS](/packages/skoro-slim-swoole-project/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Slim Framework + Swoole
=======================

[](#slim-framework--swoole)

A project boilerplate of [Slim Framework](http://slimframework.com/)and [Swoole](https://github.com/swoole/swoole-src) an event-based asynchronous PHP extension.

Requirements
------------

[](#requirements)

- [PHP 8](https://www.php.net/releases/8.0/en.php)
- [swoole](https://github.com/swoole/swoole-src) extension
- [inotify](https://www.php.net/manual/en/book.inotify.php) extension (optional but see below)

Getting Started
---------------

[](#getting-started)

Start your new project with [composer](https://getcomposer.org/):

```
$ composer create-project skoro/slim-swoole-project
```

### Getting started with Docker

[](#getting-started-with-docker)

Download or clone this project then cd into the project directory and build a container:

```
docker-compose build --no-cache
```

Install dependencies and run the server:

```
docker-compose up -d
docker-compose exec php composer install
docker-compose exec php composer run server
```

### Configuring

[](#configuring)

The default settings are good enough but if you need to customize them you have to start with copying stock settings:

```
$ cp .env.example .env
```

### Starting the server

[](#starting-the-server)

Then you can start the http server by running this command:

```
$ composer run server
```

It will listen to `localhost` and `9501` port if you left `SERVER_ADDR` and `SERVER_PORT` environment variables by default.

When you need to stop or restart the server by an external command like `kill` you also can use a pid file which is located in `var/server.pid` directory.

### Debug

[](#debug)

Please keep in mind, changing your project source code won't be applied automatically, you need to restart the server manually. To make life easier, you could enable `DEBUG=true` mode in your `.env` and the server will restart automatically depending on the project source code changes but this feature requires `inotify` extension to be installed. Instead of editing your `.env` you could start the server like this:

```
$ composer run server-debug
```

You should also pay attention [xdebug](http://xdebug.org/) is not compatible with Swoole ().

Dependency Injection
--------------------

[](#dependency-injection)

This project uses [PHP-DI](https://php-di.org/) container implementation. The container itself and its dependencies are configured in `config/container.php`file. Keep in mind, you can use any [psr-11](https://www.php-fig.org/psr/psr-11/)compatible container, so it's up to you which container to use.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance9

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 99.3% 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://avatars.githubusercontent.com/u/6389201?v=4)[Oleksii Skorobogatko](/maintainers/skoro)[@skoro](https://github.com/skoro)

---

Top Contributors

[![skoro](https://avatars.githubusercontent.com/u/6389201?v=4)](https://github.com/skoro "skoro (139 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

boilerplatephpskeletonslim-frameworkswoole

### Embed Badge

![Health badge](/badges/skoro-slim-swoole-project/health.svg)

```
[![Health](https://phpackages.com/badges/skoro-slim-swoole-project/health.svg)](https://phpackages.com/packages/skoro-slim-swoole-project)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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