PHPackages                             gns/symfony-rest-api-template - 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. [Templating &amp; Views](/categories/templating)
4. /
5. gns/symfony-rest-api-template

ActiveTemplate[Templating &amp; Views](/categories/templating)

gns/symfony-rest-api-template
=============================

A symfony 4.4 + docker compose project template to make creating new REST API projects easier.

v1.3(6y ago)010[2 PRs](https://github.com/gns-it/symfony-rest-api-template/pulls)MITJavaScript

Since Dec 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/gns-it/symfony-rest-api-template)[ Packagist](https://packagist.org/packages/gns/symfony-rest-api-template)[ Docs](https://github.com/gns-it/symfony-rest-api-template)[ RSS](/packages/gns-symfony-rest-api-template/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)DependenciesVersions (7)Used By (0)

Docker Symfony 4 (PHP7-FPM - NGINX - MySQL)
===========================================

[](#docker-symfony-4-php7-fpm---nginx---mysql)

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

[](#installation)

1. Create a `.env` from the `.env.dist` file. Adapt it according to your symfony application

    ```
    cp .env.dist .env
    ```
2. Build/run containers with (with and without detached mode)

    ```
    $ docker-compose build
    $ docker-compose up -d
    ```
3. Update your system host file (add honey\_moon.local)
4. Set $SYMFONY\_APP\_PATH (inside .env full path to symfony dir)
5. Prepare Symfony app

    5.1. Composer install &amp; create database

    ```
     ```bash
     $ docker-compose exec php bash
     $ composer install
     $ sf doctrine:database:create
     $ sf doctrine:schema:update --force
     # Only if you have `doctrine/doctrine-fixtures-bundle` installed
     $ sf doctrine:fixtures:load --no-interaction
     ```

    ```
6. Enjoy :-)

Useful commands
---------------

[](#useful-commands)

- Build assembly `docker-compose build`
- Run assembly `docker-compose up -d`
- Run assembly except node container `docker-compose run --rm start_dependencies`
- Stop assembly `docker-compose stop`
- To enter php container `$docker-compose exec php bash` `sf` alias configured for `php bin/console`
- Run supervisor: `supervisord -c /etc/supervisor/conf.d/private_island.conf `
- Stop supervisor: `kill -s SIGTERM "$(< /tmp/supervisord.pid)"`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~4 days

Total

4

Last Release

2339d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6642914?v=4)[Nicky Lemeshko](/maintainers/gns-it)[@gns-it](https://github.com/gns-it)

---

Top Contributors

[![slmder](https://avatars.githubusercontent.com/u/22047212?v=4)](https://github.com/slmder "slmder (7 commits)")[![gns-it](https://avatars.githubusercontent.com/u/6642914?v=4)](https://github.com/gns-it "gns-it (1 commits)")

---

Tags

template

### Embed Badge

![Health badge](/badges/gns-symfony-rest-api-template/health.svg)

```
[![Health](https://phpackages.com/badges/gns-symfony-rest-api-template/health.svg)](https://phpackages.com/packages/gns-symfony-rest-api-template)
```

###  Alternatives

[phpoffice/phpword

PHPWord - A pure PHP library for reading and writing word processing documents (OOXML, ODF, RTF, HTML, PDF)

7.5k34.7M186](/packages/phpoffice-phpword)[rize/uri-template

PHP URI Template (RFC 6570) supports both expansion &amp; extraction

420137.3M46](/packages/rize-uri-template)[mopa/bootstrap-sandbox-bundle

Seperate live docs from code

256.8k](/packages/mopa-bootstrap-sandbox-bundle)[larablocks/pigeon

A more flexible email message builder for Laravel 5 including chained methods, reusable message configurations, and message layout and template view management.

143.7k](/packages/larablocks-pigeon)

PHPackages © 2026

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