PHPackages                             itk-dev/symfony-4-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. itk-dev/symfony-4-skeleton

ActiveProject

itk-dev/symfony-4-skeleton
==========================

A skeleton to start a new Symfony 4 project

1.2.0(7y ago)026[3 issues](https://github.com/itk-dev/symfony-4-skeleton/issues)proprietaryJavaScriptPHP ^7.1.3

Since Mar 24Pushed 7y ago2 watchersCompare

[ Source](https://github.com/itk-dev/symfony-4-skeleton)[ Packagist](https://packagist.org/packages/itk-dev/symfony-4-skeleton)[ RSS](/packages/itk-dev-symfony-4-skeleton/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (27)Versions (4)Used By (0)

Symfony 4 skeleton
==================

[](#symfony-4-skeleton)

This is a skeleton for a [Symfony 4](https://symfony.com/doc/current/setup.html)project.

\--- ✂ --------------------------------------------------------------------------

Skeleton installation (delete this section when done)
=====================================================

[](#skeleton-installation-delete-this-section-when-done)

```
composer create-project itk-dev/symfony-4-skeleton my-itk-dev-project
```

Post skeleton installation
--------------------------

[](#post-skeleton-installation)

- Edit [`.env`](.env) and define the `COMPOSE_PROJECT_NAME` variable.
- Edit `$header` in [`.php_cs.dist`](.php_cs.dist).
- Edit [`README.md`](README.md) (Remove optional sections and describe your actual project).

Suggested packages
------------------

[](#suggested-packages)

[Doctrine](https://symfony.com/doc/current/doctrine.html):

```
composer require symfony/orm-pack
composer require --dev symfony/maker-bundle
```

Set `DATABASE_URL` in `.env.dev`:

```
DATABASE_URL=mysql://db:db@mariadb:3306/db
```

[EasyAdminBundle](https://symfony.com/doc/master/bundles/EasyAdminBundle/index.html):

```
composer require admin
```

[EasyAdmin Extension](https://github.com/alterphp/EasyAdminExtensionBundle):

```
composer require alterphp/easyadmin-extension-bundle
```

[API Platform](https://api-platform.com/):

```
composer require api
```

[Encore](https://symfony.com/doc/current/frontend/encore/installation.html)

```
composer require encore
```

Add tools for linting assets:

```
yarn add --dev eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard
yarn add --dev stylelint stylelint-config-recommended-scss stylelint-scss
```

Add these lines to `scripts` in `package.json`:

```
        "check-coding-standards/stylelint": "stylelint --config=.stylelintrc.js 'assets/**/*.scss'",
        "check-coding-standards/scss": "yarn run check-coding-standards/stylelint",
        "check-coding-standards/eslint": "eslint --config .eslintrc.js 'assets/**/*.js'",
        "check-coding-standards/js": "yarn run check-coding-standards/eslint",
        "check-coding-standards": "yarn run check-coding-standards/scss; yarn run check-coding-standards/js",
        "apply-coding-standards/stylelint": "stylelint --config=.stylelintrc.js 'assets/**/*.scss' --fix",
        "apply-coding-standards/scss": "yarn run apply-coding-standards/stylelint",
        "apply-coding-standards/eslint": "eslint --config .eslintrc.js 'assets/**/*.js' --fix",
        "apply-coding-standards/js": "yarn run apply-coding-standards/eslint",
        "apply-coding-standards": "yarn run apply-coding-standards/scss; yarn run apply-coding-standards/js"
```

See also:

- [Encore with bootstrap](https://symfony.com/doc/current/frontend/encore/bootstrap.html#importing-bootstrap-styles)
- [Boostrap 4 Form Theme](https://symfony.com/doc/current/form/bootstrap4.html)

\--- ✂ --------------------------------------------------------------------------

Starting the show
-----------------

[](#starting-the-show)

```
docker-compose pull
docker-compose up -d
```

Open the site in your default browser:

```
open http://$(docker-compose port nginx 80)
```

Coding standards
----------------

[](#coding-standards)

Check Symfony coding standards using [PHP Coding Standards Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) and [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer):

```
composer check-coding-standards
```

Apply Symfony coding standards:

```
composer apply-coding-standards
```

### Twig (experimental)

[](#twig-experimental)

Check Twig templates using [Twigcs](https://github.com/allocine/twigcs):

```
composer check-coding-standards/twigcs
```

\--- ✂ --- (remove this section if not using encore) ----------------------------

### Assets (SCSS and JavaScript)

[](#assets-scss-and-javascript)

Check coding standards in all assets:

```
yarn check-coding-standards
```

Check coding standards in SCSS files:

```
yarn check-coding-standards/scss
```

Check coding standards in JavaScript files:

```
yarn check-coding-standards/js
```

Apply coding standards to all assets:

```
yarn apply-coding-standards
```

Apply coding standards to SCSS files:

```
yarn apply-coding-standards/scss
```

Apply coding standards to JavaScript files:

```
yarn apply-coding-standards/js
```

\--- ✂ --------------------------------------------------------------------------

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.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 ~1 days

Total

3

Last Release

2600d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33924554?v=4)[ITK Development](/maintainers/itk-dev)[@itk-dev](https://github.com/itk-dev)

---

Top Contributors

[![rimi-itk](https://avatars.githubusercontent.com/u/11267554?v=4)](https://github.com/rimi-itk "rimi-itk (19 commits)")[![tuj](https://avatars.githubusercontent.com/u/6103205?v=4)](https://github.com/tuj "tuj (2 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/itk-dev-symfony-4-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/itk-dev-symfony-4-skeleton/health.svg)](https://phpackages.com/packages/itk-dev-symfony-4-skeleton)
```

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ibexa/oss

A meta package for installing Ibexa Open Source

19772.4k10](/packages/ibexa-oss)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[sylius/sylius

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

8.4k5.6M648](/packages/sylius-sylius)[chameleon-system/chameleon-base

The Chameleon System core.

1026.5k3](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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