project-zer0/pz-symfony

A pz module for PHP Symfony Framework

0.1.2 2021-02-03 07:27 UTC

This package is auto-updated.

Last update: 2024-03-29 04:26:21 UTC


README

A pz module for PHP Symfony Framework.

Install

Via composer:

$ composer require --dev project-zer0/pz-symfony

Configuration

This module provides following config block to .pz.yaml file

project-zer0:
    symfony:
        symfony_console_path: "$PZ_PWD/bin/console" # Defines a path to Symfony bin/console
        docker_compose:
            service_name: sf_console # Defines a docker-compose service to execute bin/console in

Commands

This module provides these commands in pz tool

$ pz symfony:console         [c|console|sf] Runs Symfony Console inside app container

Testing

Run test cases

$ composer test

Run test cases with coverage (HTML format)

$ composer test-coverage

Run PHP style checker

$ composer cs-check

Run PHP style fixer

$ composer cs-fix

Run all continuous integration tests

$ composer ci-run

Contributing

Please see CONTRIBUTING and CONDUCT for details.

License

Please see License File for more information.