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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.1
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package netgen/layouts-core contains the following files

Loading the files please wait ....