Download the PHP package netgen/layouts-core without Composer
On this page you can find all versions of the php package netgen/layouts-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download netgen/layouts-core
More information about netgen/layouts-core
Files in netgen/layouts-core
Package layouts-core
Short Description 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.
License MIT
Informations about the package layouts-core
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 on how to install the complete Netgen Layouts to your Symfony based app.
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
Run the unit tests by calling composer test
from the repo root:
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:
where mysql://root@localhost/nglayouts
is a DSN to your MySQL database.
You can also use PostgreSQL:
Layout editing app REST API tests
Run the REST API tests for layout editing app by calling composer test-api
from the repo root:
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:
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:
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:
Static analysis
All code is statically analysed with PHPStan and Psalm. Make sure that both tools give the OK for the entire codebase after your changes. Run the following commands to run PHPStan and Psalm for the library/bundle code and for tests code, respectively:
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:
All versions of layouts-core with dependencies
ext-intl Version *
ext-mbstring Version *
netgen/layouts-ui Version ~1.4.0
netgen/content-browser Version ^1.4
symfony/asset Version ^3.4.47 || ^5.4 || ^6.2
symfony/config Version ^3.4.47 || ^5.4 || ^6.2
symfony/console Version ^3.4.47 || ^5.4 || ^6.2
symfony/dependency-injection Version ^3.4.47 || ^5.4 || ^6.2
symfony/deprecation-contracts Version ^2.5 || ^3.2
symfony/doctrine-bridge Version ^3.4.47 || ^5.4 || ^6.2
symfony/event-dispatcher Version ^3.4.47 || ^5.4 || ^6.2
symfony/expression-language Version ^3.4.47 || ^5.4 || ^6.2
symfony/form Version ^3.4.47 || ^5.4 || ^6.2
symfony/framework-bundle Version ^3.4.47 || ^5.4 || ^6.2
symfony/http-client Version ^5.4 || ^6.2
symfony/http-foundation Version ^3.4.47 || ^5.4 || ^6.2
symfony/http-kernel Version ^3.4.47 || ^5.4 || ^6.2
symfony/intl Version ^3.4.47 || ^5.4 || ^6.2
symfony/monolog-bundle Version ^3.6
symfony/options-resolver Version ^3.4.47 || ^5.4 || ^6.2
symfony/polyfill-php80 Version ^1.27
symfony/property-access Version ^3.4.47 || ^5.4 || ^6.2
symfony/routing Version ^3.4.47 || ^5.4 || ^6.2
symfony/security-core Version ^3.4.47 || ^5.4 || ^6.2
symfony/security-csrf Version ^3.4.47 || ^5.4 || ^6.2
symfony/security-bundle Version ^3.4.47 || ^5.4 || ^6.2
symfony/serializer Version ^3.4.47 || ^5.4 || ^6.2
symfony/string Version ^5.4 || ^6.2
symfony/translation Version ^3.4.47 || ^5.4 || ^6.2
symfony/twig-bridge Version ^3.4.47 || ^5.4 || ^6.2
symfony/twig-bundle Version ^3.4.47 || ^5.4 || ^6.2
symfony/validator Version ^3.4.47 || ^5.4 || ^6.2
symfony/yaml Version ^3.4.47 || ^5.4 || ^6.2
twig/twig Version ^2.15 || ^3.9
sensio/framework-extra-bundle Version ^5.4 || ^6.2
doctrine/dbal Version ^2.13 || ^3.5
doctrine/doctrine-bundle Version ^1.12 || ^2.7
doctrine/doctrine-migrations-bundle Version ^2.2 || ^3.2
doctrine/collections Version ^1.8 || ^2.1
ramsey/uuid Version ^3.9 || ^4.2
egulias/email-validator Version ^2.1.25 || ^3.2
ezyang/htmlpurifier Version ^4.16
xemlock/htmlpurifier-html5 Version >=0.1.11, <1.0
knplabs/knp-menu-bundle Version ^2.3 || ^3.2
swaggest/json-schema Version ^0.12.41
friendsofsymfony/http-cache-bundle Version ^1.3.16 || ^2.11
pagerfanta/pagerfanta Version ^2.7 || ^3.6
jean85/pretty-package-versions Version ^1.6 || ^2.0
emodric/twig-package-versions Version ^1.1
nikolaposa/version Version ^4.1