@nxt-php/php-symfony
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

@nxt-php/php-symfony

standard-readme compliant

An Nx plugin for developing applications and libraries using PHP Symfony.

Table of Contents

Prerequisites

In order to use this plugin within your NX workspace, you need to do some manual steps which cannot be done by the plugin:

  • Install PHP 8.0.2 or higher and your required PHP extensions
  • Install Composer, which is used to install PHP packages.
  • Install PCOV extension used for code coverage during test execution

Usage

Install plugin

npm install --save-dev @nxt-php/php-symfony

Generate an application

Run nx g @nxt-php/php-symfony:app my-app to generate a symfony application.

Generate a library

Run nx g @nxt-php/php-symfony:lib my-lib to generate a symfony library.

Build

Run nx build my-app to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run nx test my-app to execute the unit tests via Jest.

Run nx affected:test to execute the unit tests affected by a change.

Running e2e tests

Run nx e2e my-app to execute the e2e tests.

Run nx affected:e2e to execute the e2e tests affected by a change.

Maintainers

@jotwea

Contributing

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2022 Josef Wagner

Readme

Keywords

none

Package Sidebar

Install

npm i @nxt-php/php-symfony

Weekly Downloads

420

Version

3.0.0

License

MIT

Unpacked Size

36.4 kB

Total Files

42

Last publish

Collaborators

  • jotwea