🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@nxt-php/php-symfony

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nxt-php/php-symfony

A third-party Nx plugin for PHP Symfony

6.0.1
latest
Source
npm
Version published
Weekly downloads
388
-18.49%
Maintainers
1
Weekly downloads
 
Created
Source

@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

FAQs

Package last updated on 31 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts