PHPackages                             netgen/layouts-core - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. netgen/layouts-core

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

netgen/layouts-core
===================

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

2.0.1(2mo ago)3692.1k↓56.7%11[1 issues](https://github.com/netgen-layouts/layouts-core/issues)9MITPHPPHP ^8.4CI passing

Since Oct 4Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/netgen-layouts/layouts-core)[ Packagist](https://packagist.org/packages/netgen/layouts-core)[ RSS](/packages/netgen-layouts-core/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (213)Versions (53)Used By (9)

Netgen Layouts
==============

[](#netgen-layouts)

This repository is the core/kernel of Netgen Layouts. It is not to be installed as a standalone package. Instead, read the [installation instructions](https://docs.netgen.io/projects/layouts/en/latest/getting_started/install_existing_project.html)on how to install the complete Netgen Layouts to your Symfony based app.

For developers
--------------

[](#for-developers)

If you intend to develop Netgen Layouts, fix a bug, send a pull request and so on, please read the following sections on how to run various test suites.

Running tests requires that you have complete vendors installed, so run `composer install` before running the tests.

### Unit tests

[](#unit-tests)

Run the unit tests by calling `composer test` from the repo root:

```
$ composer test
```

This will use an in memory SQLite database.

You can also run unit tests on a real database. Create an empty MySQL database and run the tests with:

```
$ DATABASE=mysql://root@localhost/nglayouts composer test
```

where `mysql://root@localhost/nglayouts` is a DSN to your MySQL database.

You can also use PostgreSQL:

```
$ DATABASE=pgsql://user:pass@localhost/nglayouts composer test
```

### Layout editing app REST API tests

[](#layout-editing-app-rest-api-tests)

Run the REST API tests for layout editing app by calling `composer test-api`from the repo root:

```
$ composer test-api
```

Just as with unit tests, this will use a temporary SQLite database.

You can also use the `DATABASE` environment variable to run the tests with a MySQL or PostgreSQL database:

```
$ DATABASE=mysql://root@localhost/nglayouts composer test-api
```

### Behat tests

[](#behat-tests)

Some parts of the administration interface are covered with Behat tests. These tests use Chrome WebDriver to run. Before running tests, you need to install the Chrome WebDriver and run it, together with the Symfony CLI used for testing. There is a convenient shell script `tests/prepare_behat.sh`, which will download the latest Chrome WebDriver and Symfony CLI and start the test web server.

To run the tests, just execute the following:

```
$ composer behat
```

This will run the tests with the Chrome UI visible.

To run the tests without the Chrome UI and save some seconds, you can use:

```
$ composer behat-headless
```

### Static analysis

[](#static-analysis)

All code is statically analysed with PHPStan. Make sure that it gives the OK for the entire codebase after your changes. Run the following commands to run PHPStan for the library/bundle code and for tests code, respectively:

```
$ composer phpstan
```

```
$ composer phpstan-tests
```

### Coding standards

[](#coding-standards)

This repo uses PHP CS Fixer and rules defined in `.php-cs-fixer.php` file to enforce coding standards. Please check the code for any CS violations before submitting patches:

```
$ php-cs-fixer fix
```

###  Health Score

67

—

FairBetter than 99% of packages

Maintenance85

Actively maintained with recent releases

Popularity42

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity93

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 95% 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 ~54 days

Recently: every ~71 days

Total

52

Last Release

74d ago

Major Versions

0.13.1 → 1.0.02019-07-05

1.4.x-dev → 2.0.02026-02-25

PHP version history (6 changes)0.12.0PHP ^7.1

1.0.0PHP ^7.2

1.2.0PHP ^7.3

1.3.0PHP ^7.4 || ^8.0

1.4.0PHP ^7.4 || ^8.1

2.0.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/362286?v=4)[Edi Modrić](/maintainers/emodric)[@emodric](https://github.com/emodric)

![](https://avatars.githubusercontent.com/u/594589?v=4)[Netgen](/maintainers/netgen)[@netgen](https://github.com/netgen)

---

Top Contributors

[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (5303 commits)")[![skovacic3](https://avatars.githubusercontent.com/u/64537968?v=4)](https://github.com/skovacic3 "skovacic3 (204 commits)")[![MarkoZabcic](https://avatars.githubusercontent.com/u/22573?v=4)](https://github.com/MarkoZabcic "MarkoZabcic (35 commits)")[![pspanja](https://avatars.githubusercontent.com/u/1135425?v=4)](https://github.com/pspanja "pspanja (31 commits)")[![Ljudevit](https://avatars.githubusercontent.com/u/14800973?v=4)](https://github.com/Ljudevit "Ljudevit (4 commits)")[![sam42352352](https://avatars.githubusercontent.com/u/125610563?v=4)](https://github.com/sam42352352 "sam42352352 (2 commits)")[![RobertK0](https://avatars.githubusercontent.com/u/45759959?v=4)](https://github.com/RobertK0 "RobertK0 (2 commits)")[![wizhippo](https://avatars.githubusercontent.com/u/1456102?v=4)](https://github.com/wizhippo "wizhippo (1 commits)")[![iherak](https://avatars.githubusercontent.com/u/5854428?v=4)](https://github.com/iherak "iherak (1 commits)")[![joezg](https://avatars.githubusercontent.com/u/8030495?v=4)](https://github.com/joezg "joezg (1 commits)")[![BornaP](https://avatars.githubusercontent.com/u/8470710?v=4)](https://github.com/BornaP "BornaP (1 commits)")

---

Tags

layoutsphpsymfony

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/netgen-layouts-core/health.svg)

```
[![Health](https://phpackages.com/badges/netgen-layouts-core/health.svg)](https://phpackages.com/packages/netgen-layouts-core)
```

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M577](/packages/shopware-core)[sylius/sylius

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

8.5k5.9M739](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[open-dxp/opendxp

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

9421.6k61](/packages/open-dxp-opendxp)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)

PHPackages © 2026

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