PHPackages                             fra-c/slim-doctrine-behat-skeleton - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. fra-c/slim-doctrine-behat-skeleton

ActiveProject[Testing &amp; Quality](/categories/testing)

fra-c/slim-doctrine-behat-skeleton
==================================

v1.0.0(7y ago)05MITPHPPHP ^7.1.0CI failing

Since Oct 29Pushed 6y agoCompare

[ Source](https://github.com/fra-c/slim-doctrine-behat-skeleton)[ Packagist](https://packagist.org/packages/fra-c/slim-doctrine-behat-skeleton)[ RSS](/packages/fra-c-slim-doctrine-behat-skeleton/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Slim &amp; Behat Skeleton
=========================

[](#slim--behat-skeleton)

Skeleton application using Slim 3 with Doctrine ORM and Behat. It also features migrations.

The following instructions assume you're using Docker.

Install
-------

[](#install)

Run the following command to create the project (replace \[my-app-name\]):

`$ docker run -it --rm -v $(pwd):/app composer create-project fra-c/slim-doctrine-behat-skeleton [my-app-name]`

Create an `.env` file and edit to your needs:

`$ cp .env.example .env`

Implement the health check based on your needs.

Run tests
---------

[](#run-tests)

Run Behat tests with:

`docker-compose run --rm -e DB_NAME=test_db -e LOG_FILENAME= php vendor/bin/behat`

**WARNING:** When you run tests, the database specified in `DB_NAME` will be dropped and recreated. If you don't specify `DB_NAME` in the command, the `.env` file or environment variables will be used. DO NOT USE production credentials.

Composer command
----------------

[](#composer-command)

To run composer:

`docker run -it --rm -v $(pwd):/app composer [command] [options] [...]`

Example:

`docker run -it --rm -v $(pwd):/app composer require --dev phpunit/phpunit`

Migrations
----------

[](#migrations)

### Creating migrations

[](#creating-migrations)

Edit the Doctrine mapping yaml files as needed then run the following command to create a migration file:

`docker-compose run --rm php vendor/bin/doctrine-migrations migrations:diff`

### Migrating

[](#migrating)

Tests run migrations automatically before every scenario.

To update the local database instead run:

`docker-compose run --rm php vendor/bin/doctrine-migrations migrations:migrate`

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

2802d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8685269?v=4)[Francesco Cocchianella](/maintainers/fra-c)[@fra-c](https://github.com/fra-c)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![fra-c](https://avatars.githubusercontent.com/u/8685269?v=4)](https://github.com/fra-c "fra-c (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fra-c-slim-doctrine-behat-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/fra-c-slim-doctrine-behat-skeleton/health.svg)](https://phpackages.com/packages/fra-c-slim-doctrine-behat-skeleton)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.5k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M719](/packages/sylius-sylius)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M482](/packages/pimcore-pimcore)[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

3.9k27.8k](/packages/azuracast-azuracast)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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