netgen / layouts-standard
Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This package provides a set of most used blocks and layouts for Netgen Layouts for building rich content websites.
Installs: 80 436
Dependents: 10
Suggesters: 0
Security: 0
Stars: 22
Watchers: 5
Forks: 4
Open Issues: 0
Type:symfony-bundle
Requires
- erusev/parsedown: ^1.7
- netgen/layouts-core: ~1.4.6
Requires (Dev)
- netgen/layouts-coding-standard: ^2.0
- phpstan/phpstan: ^1.9
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-strict-rules: ^1.4
- phpunit/phpunit: ^9.6 || ^10.1
- symfony/phpunit-bridge: ^6.2
- symfony/var-dumper: ^3.4 || ^5.4 || ^6.2
- vimeo/psalm: ^4.30 || ^5.4
README
This package provides a set of most used blocks and layouts for Netgen Layouts for building rich content websites. It is a starting point when installing Netgen Layouts.
Read the installation instructions on how to install the complete Netgen Layouts to your Symfony based app.
As an alternative, you can use the following repositories with Netgen Layouts preinstalled to bootstrap your project:
- Integration with eZ Platform
- Integration with Sylius
- Integration with Contentful
- Integration with Symfony
These are kept uptodate as new versions of 3rd party products are released.
For developers
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:
$ composer test
PHPStan static analysis
All code is statically analysed with PHPStan. Make sure that PHPStan is green for the entire codebase after your changes. Run the following two commands to run PHPStan for the library/bundle code and for tests code, respectivelly:
$ composer phpstan
$ composer phpstan-tests
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