From f0efb7d1c5d6b719a9bffd100ae5c77191f63344 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sat, 13 Jul 2024 12:32:40 +0200 Subject: [PATCH] #1: QS Workflow --- .gitea/workflows/qs.yml | 63 +- .gitignore | 1 + .idea/.gitignore | 8 - .idea/Website.iml | 276 -- .idea/codeStyles/Project.xml | 31 - .idea/codeStyles/codeStyleConfig.xml | 5 - .idea/codeception.xml | 18 - .../Symfony_13_07_2024__10_29.xml | 3291 ----------------- .../frameworkDescriptionVersion1.1.4.xsd | 47 - .idea/jsLibraryMappings.xml | 6 - .idea/modules.xml | 8 - .idea/php.xml | 406 -- .idea/phpspec.xml | 31 - .idea/phpunit.xml | 12 - .idea/vcs.xml | 6 - .idea/watcherTasks.xml | 4 - app/config/packages/twig.yaml | 2 +- .../styles/.stylelintrc.json | 0 app/{assets => frontend}/styles/app.scss | 0 app/{ => frontend}/templates/base.html.twig | 0 app/frontend/tsconfig.json | 2 +- app/package-lock.json | 2 +- app/package.json | 4 +- app/webpack.config.js | 2 +- 24 files changed, 65 insertions(+), 4160 deletions(-) create mode 100644 .gitignore delete mode 100644 .idea/.gitignore delete mode 100644 .idea/Website.iml delete mode 100644 .idea/codeStyles/Project.xml delete mode 100644 .idea/codeStyles/codeStyleConfig.xml delete mode 100644 .idea/codeception.xml delete mode 100644 .idea/commandlinetools/Symfony_13_07_2024__10_29.xml delete mode 100644 .idea/commandlinetools/schemas/frameworkDescriptionVersion1.1.4.xsd delete mode 100644 .idea/jsLibraryMappings.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/php.xml delete mode 100644 .idea/phpspec.xml delete mode 100644 .idea/phpunit.xml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/watcherTasks.xml rename app/{assets => frontend}/styles/.stylelintrc.json (100%) rename app/{assets => frontend}/styles/app.scss (100%) rename app/{ => frontend}/templates/base.html.twig (100%) diff --git a/.gitea/workflows/qs.yml b/.gitea/workflows/qs.yml index 82f6e92..3d90595 100644 --- a/.gitea/workflows/qs.yml +++ b/.gitea/workflows/qs.yml @@ -2,17 +2,70 @@ name: "Quality Check" on: push jobs: - quality-controll: - name: "Check" + qs_frontend: + name: "QS Frontend" runs-on: "ubuntu-latest" container: image: "git.euph.dev/actions/runner-php-8.3:latest" steps: - name: "Checkout" uses: "https://git.euph.dev/actions/checkout@v3" - - name: "composer install" + - name: "Install Dependencies" + working-directory: app + run: | + parallel --halt soon,fail=1 ::: \ + "composer check-platform-reqs && composer install --no-scripts --audit" \ + "npm install --no-fund" + - name: "TS Validation" + working-directory: app/frontend + run: "node ../node_modules/typescript/bin/tsc --noEmit" + - name: "Twig Validation" + working-directory: app + run: "bin/console lint:twig frontend/templates" + - name: "Stylelint" + working-directory: app/frontend/styles + run: "node ../../node_modules/stylelint/bin/stylelint.mjs ." + - name: "ESLint" + working-directory: app + run: "node node_modules/eslint/bin/eslint.js frontend" + - name: "Twig CS Fixer" + working-directory: app + run: "vendor/bin/twig-cs-fixer lint" + + qs_backend: + name: "QS Backend" + runs-on: "ubuntu-latest" + container: + image: "git.euph.dev/actions/runner-php-8.3:latest" + steps: + - name: "Checkout" + uses: "https://git.euph.dev/actions/checkout@v3" + - name: "Install Dependencies" + working-directory: app run: | composer check-platform-reqs composer install --no-scripts --audit - - name: "npm install" - run: "npm install --no-fund" + - name: "PHP CS Fixer" + working-directory: app + run: "vendor/bin/php-cs-fixer fix --dry-run --allow-risky=yes" + - name: "PHP Stan" + working-directory: app + run: "vendor/bin/phpstan analyze" + + qs_mixed: + name: "QS Mixed" + runs-on: "ubuntu-latest" + container: + image: "git.euph.dev/actions/runner-php-8.3:latest" + steps: + - name: "Checkout" + uses: "https://git.euph.dev/actions/checkout@v3" + - name: "Install Dependencies" + working-directory: app + run: | + parallel --halt soon,fail=1 ::: \ + "composer check-platform-reqs && composer install --no-scripts --audit" \ + "npm install --no-fund" + - name: "Lint" + working-directory: app + run: "node node_modules/eslint/bin/eslint.js frontend" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1c2d52b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/* diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/Website.iml b/.idea/Website.iml deleted file mode 100644 index e9e1e68..0000000 --- a/.idea/Website.iml +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml deleted file mode 100644 index 538eb5e..0000000 --- a/.idea/codeStyles/Project.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml deleted file mode 100644 index 79ee123..0000000 --- a/.idea/codeStyles/codeStyleConfig.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/codeception.xml b/.idea/codeception.xml deleted file mode 100644 index 77a2980..0000000 --- a/.idea/codeception.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/commandlinetools/Symfony_13_07_2024__10_29.xml b/.idea/commandlinetools/Symfony_13_07_2024__10_29.xml deleted file mode 100644 index 9b3a403..0000000 --- a/.idea/commandlinetools/Symfony_13_07_2024__10_29.xml +++ /dev/null @@ -1,3291 +0,0 @@ - - - - - _complete -
Options:
--shell(-s)The shell type ("bash", "fish", "zsh")
--input(-i)An array of input tokens (e.g. COMP_WORDS or argv)
--current(-c)The index of the "input" array that the cursor is in (e.g. COMP_CWORD)
--api-version(-a)The API version of the completion script
--symfony(-S)deprecated
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - - - -
- - about - about command displays information about the current Symfony project.

The PHP section displays important configuration that could affect your application. The values might
be different between web and CLI.

Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - -
- - completion - completion command dumps the shell completion script required
to use shell autocompletion (currently, bash, fish, zsh completion are supported).

Static installation
-------------------

Dump the script to a global completion file and restart your shell:

/home/snoweuph/Workspace/Website/bin/console completion bash | sudo tee /etc/bash_completion.d/console

Or dump the script to a local file and source it:

/home/snoweuph/Workspace/Website/bin/console completion bash > completion.sh

# source the file whenever you use the project
source completion.sh

# or add this line at the end of your "~/.bashrc" file:
source /path/to/completion.sh

Dynamic installation
--------------------

Add this to the end of your shell configuration file (e.g. "~/.bashrc"):

eval "$(/home/snoweuph/Workspace/Website/bin/console completion bash)"

Options:
--debugTail the completion debug log
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- shell[=null] - - - command]]> - - - - - - - - - - - -
- - help - help command displays help for a given command:

/home/snoweuph/Workspace/Website/bin/console help list

You can also output the help in other formats by using the --format option:

/home/snoweuph/Workspace/Website/bin/console help --format=xml list

To display the list of available commands, please use the list command.

Options:
--formatThe output format (txt, xml, json, or md)
--rawTo output raw command help
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]> - command_name[=null] - - - -
command]]> - - - - - - - - - - - - - - list - list command lists all commands:

/home/snoweuph/Workspace/Website/bin/console list

You can also display the commands for a specific namespace:

/home/snoweuph/Workspace/Website/bin/console list test

You can also output the information in other formats by using the --format option:

/home/snoweuph/Workspace/Website/bin/console list --format=xml

It's also possible to get raw list of commands (useful for embedding command runner):

/home/snoweuph/Workspace/Website/bin/console list --raw

Options:
--rawTo output raw command list
--formatThe output format (txt, xml, json, or md)
--shortTo skip describing commands' arguments
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- namespace[=null] - - - - - - - - - - - - - - - -
- - assets:install - assets:install command installs bundle assets into a given
directory (e.g. the public directory).

php /home/snoweuph/Workspace/Website/bin/console assets:install public

A "bundles" directory will be created inside the target directory and the
"Resources/public" directory of each bundle will be copied into it.

To create a symlink to each bundle instead of copying its assets, use the
--symlink option (will fall back to hard copies when symbolic links aren't possible:

php /home/snoweuph/Workspace/Website/bin/console assets:install public --symlink

To make symlink relative, add the --relative option:

php /home/snoweuph/Workspace/Website/bin/console assets:install public --symlink --relative


Options:
--symlinkSymlink the assets instead of copying them
--relativeMake relative symlinks
--no-cleanupDo not remove the assets of the bundles that no longer exist
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- target[=null] - - - - - - - - - - - - - - - -
- - cache:clear - cache:clear command clears and warms up the application cache for a given environment
and debug mode:

php /home/snoweuph/Workspace/Website/bin/console cache:clear --env=dev
php /home/snoweuph/Workspace/Website/bin/console cache:clear --env=prod --no-debug

Options:
--no-warmupDo not warm up the cache
--no-optional-warmersSkip optional cache warmers (faster)
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - -
- - cache:pool:clear - cache:pool:clear command clears the given cache pools or cache pool clearers.

/home/snoweuph/Workspace/Website/bin/console cache:pool:clear [...]

Options:
--allClear all cache pools
--excludeA list of cache pools or cache pool clearers to exclude
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- pools[=null] - - - - - - - - - - - - - - -
- - cache:pool:delete - cache:pool:delete deletes an item from a given cache pool.

/home/snoweuph/Workspace/Website/bin/console cache:pool:delete

Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- pool key - - - - - - - - - - - - -
- - cache:pool:invalidate-tags - cache:pool:invalidate-tags command invalidates tags from taggable pools. By default, all pools
have the passed tags invalidated. Pass --pool=my_pool to invalidate tags on a specific pool.

php /home/snoweuph/Workspace/Website/bin/console cache:pool:invalidate-tags tag1 tag2
php /home/snoweuph/Workspace/Website/bin/console cache:pool:invalidate-tags tag1 tag2 --pool=cache2 --pool=cache1

Options:
--pool(-p)The pools to invalidate on
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- tags - - - - - - - - - - - - - -
- - cache:pool:list - cache:pool:list command lists all available cache pools.

Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - -
- - cache:pool:prune - cache:pool:prune command deletes all expired items from all pruneable pools.

/home/snoweuph/Workspace/Website/bin/console cache:pool:prune

Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - -
- - cache:warmup - cache:warmup command warms up the cache.

Before running this command, the cache must be empty.


Options:
--no-optional-warmersSkip optional cache warmers (faster)
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - -
- - config:dump-reference - config:dump-reference command dumps the default configuration for an
extension/bundle.

Either the extension alias or bundle name can be used:

php /home/snoweuph/Workspace/Website/bin/console config:dump-reference framework
php /home/snoweuph/Workspace/Website/bin/console config:dump-reference FrameworkBundle

The --format option specifies the format of the configuration,
these are "yaml", "xml".

php /home/snoweuph/Workspace/Website/bin/console config:dump-reference FrameworkBundle --format=xml

For dumping a specific option, add its path as second argument (only available for the yaml format):

php /home/snoweuph/Workspace/Website/bin/console config:dump-reference framework http_client.default_options


Options:
--formatThe output format ("yaml", "xml")
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- name[=null] path[=null] - - - - - - - - - - - - - -
- - dbal:run-sql - dbal:run-sql command executes the given SQL query and
outputs the results:

php /home/snoweuph/Workspace/Website/bin/console dbal:run-sql "SELECT * FROM users"

Options:
--connectionThe named database connection
--depthDumping depth of result set (deprecated).
--force-fetchForces fetching the result.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- sql - - - - - - - - - - - - - - - -
- - debug:autowiring - debug:autowiring command displays the classes and interfaces that
you can use as type-hints for autowiring:

php /home/snoweuph/Workspace/Website/bin/console debug:autowiring

You can also pass a search term to filter the list:

php /home/snoweuph/Workspace/Website/bin/console debug:autowiring log


Options:
--allShow also services that are not aliased
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- search[=null] - - - - - - - - - - - - - -
- - debug:config - debug:config command dumps the current configuration for an
extension/bundle.

Either the extension alias or bundle name can be used:

php /home/snoweuph/Workspace/Website/bin/console debug:config framework
php /home/snoweuph/Workspace/Website/bin/console debug:config FrameworkBundle

The --format option specifies the format of the configuration,
these are "txt", "yaml", "json".

php /home/snoweuph/Workspace/Website/bin/console debug:config framework --format=json

For dumping a specific option, add its path as second argument:

php /home/snoweuph/Workspace/Website/bin/console debug:config framework serializer.enabled


Options:
--resolve-envDisplay resolved environment variable values instead of placeholders
--formatThe output format ("txt", "yaml", "json")
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- name[=null] path[=null] - - - - - - - - - - - - - - -
- - debug:container - debug:container command displays all configured public services:

php /home/snoweuph/Workspace/Website/bin/console debug:container

To see deprecations generated during container compilation and cache warmup, use the --deprecations option:

php /home/snoweuph/Workspace/Website/bin/console debug:container --deprecations

To get specific information about a service, specify its name:

php /home/snoweuph/Workspace/Website/bin/console debug:container validator

To get specific information about a service including all its arguments, use the --show-arguments flag:

php /home/snoweuph/Workspace/Website/bin/console debug:container validator --show-arguments

To see available types that can be used for autowiring, use the --types flag:

php /home/snoweuph/Workspace/Website/bin/console debug:container --types

To see environment variables used by the container, use the --env-vars flag:

php /home/snoweuph/Workspace/Website/bin/console debug:container --env-vars

Display a specific environment variable by specifying its name with the --env-var option:

php /home/snoweuph/Workspace/Website/bin/console debug:container --env-var=APP_ENV

Use the --tags option to display tagged public services grouped by tag:

php /home/snoweuph/Workspace/Website/bin/console debug:container --tags

Find all services with a specific tag by specifying the tag name with the --tag option:

php /home/snoweuph/Workspace/Website/bin/console debug:container --tag=form.type

Use the --parameters option to display all parameters:

php /home/snoweuph/Workspace/Website/bin/console debug:container --parameters

Display a specific parameter by specifying its name with the --parameter option:

php /home/snoweuph/Workspace/Website/bin/console debug:container --parameter=kernel.debug

By default, internal services are hidden. You can display them
using the --show-hidden flag:

php /home/snoweuph/Workspace/Website/bin/console debug:container --show-hidden


Options:
--show-argumentsShow arguments in services
--show-hiddenShow hidden (internal) services
--tagShow all services with a specific tag
--tagsDisplay tagged services for an application
--parameterDisplay a specific parameter for an application
--parametersDisplay parameters for an application
--typesDisplay types (classes/interfaces) available in the container
--env-varDisplay a specific environment variable used in the container
--env-varsDisplay environment variables used in the container
--formatThe output format ("txt", "xml", "json", "md")
--rawTo output raw description
--deprecationsDisplay deprecations generated when compiling and warming up the container
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- name[=null] - - - - - - - - - - - - - - - - - - - - - - - - -
- - debug:dotenv - /home/snoweuph/Workspace/Website/bin/console debug:dotenv command displays all the environment variables configured by dotenv:

php /home/snoweuph/Workspace/Website/bin/console debug:dotenv

To get specific variables, specify its full or partial name:

php /home/snoweuph/Workspace/Website/bin/console debug:dotenv FOO_BAR


Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- filter[=null] - - - - - - - - - - - - -
- - debug:event-dispatcher - debug:event-dispatcher command displays all configured listeners:

php /home/snoweuph/Workspace/Website/bin/console debug:event-dispatcher

To get specific listeners for an event, specify its name:

php /home/snoweuph/Workspace/Website/bin/console debug:event-dispatcher kernel.request

Options:
--dispatcherTo view events of a specific event dispatcher
--formatThe output format ("txt", "xml", "json", "md")
--rawTo output raw description
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- event[=null] - - - - - - - - - - - - - - - -
- - debug:form - debug:form command displays information about form types.

php /home/snoweuph/Workspace/Website/bin/console debug:form

The command lists all built-in types, services types, type extensions and
guessers currently available.

php /home/snoweuph/Workspace/Website/bin/console debug:form Symfony\Component\Form\Extension\Core\Type\ChoiceType
php /home/snoweuph/Workspace/Website/bin/console debug:form ChoiceType

The command lists all defined options that contains the given form type,
as well as their parents and type extensions.

php /home/snoweuph/Workspace/Website/bin/console debug:form ChoiceType choice_value

Use the --show-deprecated option to display form types with
deprecated options or the deprecated options of the given form type:

php /home/snoweuph/Workspace/Website/bin/console debug:form --show-deprecated
php /home/snoweuph/Workspace/Website/bin/console debug:form ChoiceType --show-deprecated

The command displays the definition of the given option name.

php /home/snoweuph/Workspace/Website/bin/console debug:form --format=json

The command lists everything in a machine readable json format.

Options:
--show-deprecatedDisplay deprecated options in form types
--formatThe output format ("txt", "json")
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- class[=null] option[=null] - - - - - - - - - - - - - - -
- - debug:router - debug:router displays the configured routes:

php /home/snoweuph/Workspace/Website/bin/console debug:router


Options:
--show-controllersShow assigned controllers in overview
--show-aliasesShow aliases in overview
--formatThe output format ("txt", "xml", "json", "md")
--rawTo output raw route(s)
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- name[=null] - - - - - - - - - - - - - - - - -
- - debug:twig - debug:twig command outputs a list of twig functions,
filters, globals and tests.

php /home/snoweuph/Workspace/Website/bin/console debug:twig

The command lists all functions, filters, etc.

php /home/snoweuph/Workspace/Website/bin/console debug:twig @Twig/Exception/error.html.twig

The command lists all paths that match the given template name.

php /home/snoweuph/Workspace/Website/bin/console debug:twig --filter=date

The command lists everything that contains the word date.

php /home/snoweuph/Workspace/Website/bin/console debug:twig --format=json

The command lists everything in a machine readable json format.

Options:
--filterShow details for all entries matching this filter
--formatThe output format ("text", "json")
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- name[=null] - - - - - - - - - - - - - - -
- - debug:validator - debug:validator 'App\Entity\Dummy' command dumps the validators for the dummy class.

The debug:validator src/ command dumps the validators for the `src` directory.

Options:
--show-allShow all classes even if they have no validation constraints
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- class - - - - - - - - - - - - - -
- - doctrine:cache:clear-collection-region - doctrine:cache:clear-collection-region command is meant to clear a second-level cache collection regions for an associated Entity Manager.
It is possible to delete/invalidate all collection region, a specific collection region or flushes the cache provider.

The execution type differ on how you execute the command.
If you want to invalidate all entries for an collection region this command would do the work:

doctrine:cache:clear-collection-region 'Entities\MyEntity' 'collectionName'

To invalidate a specific entry you should use :

doctrine:cache:clear-collection-region 'Entities\MyEntity' 'collectionName' 1

If you want to invalidate all entries for the all collection regions:

doctrine:cache:clear-collection-region --all

Alternatively, if you want to flush the configured cache provider for an collection region use this command:

doctrine:cache:clear-collection-region 'Entities\MyEntity' 'collectionName' --flush

Finally, be aware that if --flush option is passed,
not all cache providers are able to flush entries, because of a limitation of its execution nature.

Options:
--emName of the entity manager to operate on
--allIf defined, all entity regions will be deleted/invalidated.
--flushIf defined, all cache entries will be flushed.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- owner-class[=null] association[=null] owner-id[=null] - - - - - - - - - - - - - - - -
- - doctrine:cache:clear-entity-region - doctrine:cache:clear-entity-region command is meant to clear a second-level cache entity region for an associated Entity Manager.
It is possible to delete/invalidate all entity region, a specific entity region or flushes the cache provider.

The execution type differ on how you execute the command.
If you want to invalidate all entries for an entity region this command would do the work:

doctrine:cache:clear-entity-region 'Entities\MyEntity'

To invalidate a specific entry you should use :

doctrine:cache:clear-entity-region 'Entities\MyEntity' 1

If you want to invalidate all entries for the all entity regions:

doctrine:cache:clear-entity-region --all

Alternatively, if you want to flush the configured cache provider for an entity region use this command:

doctrine:cache:clear-entity-region 'Entities\MyEntity' --flush

Finally, be aware that if --flush option is passed,
not all cache providers are able to flush entries, because of a limitation of its execution nature.

Options:
--emName of the entity manager to operate on
--allIf defined, all entity regions will be deleted/invalidated.
--flushIf defined, all cache entries will be flushed.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- entity-class[=null] entity-id[=null] - - - - - - - - - - - - - - - -
- - doctrine:cache:clear-metadata - doctrine:cache:clear-metadata command is meant to clear the metadata cache of associated Entity Manager.

Options:
--emName of the entity manager to operate on
--flushIf defined, cache entries will be flushed instead of deleted/invalidated.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - -
- - doctrine:cache:clear-query - doctrine:cache:clear-query command is meant to clear the query cache of associated Entity Manager.
It is possible to invalidate all cache entries at once - called delete -, or flushes the cache provider
instance completely.

The execution type differ on how you execute the command.
If you want to invalidate the entries (and not delete from cache instance), this command would do the work:

doctrine:cache:clear-query

Alternatively, if you want to flush the cache provider using this command:

doctrine:cache:clear-query --flush

Finally, be aware that if --flush option is passed, not all cache providers are able to flush entries,
because of a limitation of its execution nature.

Options:
--emName of the entity manager to operate on
--flushIf defined, cache entries will be flushed instead of deleted/invalidated.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - -
- - doctrine:cache:clear-query-region - doctrine:cache:clear-query-region command is meant to clear a second-level cache query region for an associated Entity Manager.
It is possible to delete/invalidate all query region, a specific query region or flushes the cache provider.

The execution type differ on how you execute the command.
If you want to invalidate all entries for the default query region this command would do the work:

doctrine:cache:clear-query-region

To invalidate entries for a specific query region you should use :

doctrine:cache:clear-query-region my_region_name

If you want to invalidate all entries for the all query region:

doctrine:cache:clear-query-region --all

Alternatively, if you want to flush the configured cache provider use this command:

doctrine:cache:clear-query-region my_region_name --flush

Finally, be aware that if --flush option is passed,
not all cache providers are able to flush entries, because of a limitation of its execution nature.

Options:
--emName of the entity manager to operate on
--allIf defined, all query regions will be deleted/invalidated.
--flushIf defined, all cache entries will be flushed.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- region-name[=null] - - - - - - - - - - - - - - - -
- - doctrine:cache:clear-result - doctrine:cache:clear-result command is meant to clear the result cache of associated Entity Manager.
It is possible to invalidate all cache entries at once - called delete -, or flushes the cache provider
instance completely.

The execution type differ on how you execute the command.
If you want to invalidate the entries (and not delete from cache instance), this command would do the work:

doctrine:cache:clear-result

Alternatively, if you want to flush the cache provider using this command:

doctrine:cache:clear-result --flush

Finally, be aware that if --flush option is passed, not all cache providers are able to flush entries,
because of a limitation of its execution nature.

Options:
--emName of the entity manager to operate on
--flushIf defined, cache entries will be flushed instead of deleted/invalidated.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - -
- - doctrine:database:create - doctrine:database:create command creates the default connections database:

php /home/snoweuph/Workspace/Website/bin/console doctrine:database:create

You can also optionally specify the name of a connection to create the database for:

php /home/snoweuph/Workspace/Website/bin/console doctrine:database:create --connection=default

Options:
--connection(-c)The connection to use for this command
--if-not-existsDon't trigger an error, when the database already exists
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - -
- - doctrine:database:drop - doctrine:database:drop command drops the default connections database:

php /home/snoweuph/Workspace/Website/bin/console doctrine:database:drop

The --force parameter has to be used to actually drop the database.

You can also optionally specify the name of a connection to drop the database for:

php /home/snoweuph/Workspace/Website/bin/console doctrine:database:drop --connection=default

Be careful: All data in a given database will be lost when executing this command.

Options:
--connection(-c)The connection to use for this command
--if-existsDon't trigger an error, when the database doesn't exist
--force(-f)Set this parameter to execute this action
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - -
- - doctrine:ensure-production-settings -
Options:
--emName of the entity manager to operate on
--completeFlag to also inspect database connection existence.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - -
- - doctrine:fixtures:load - doctrine:fixtures:load command loads data fixtures from your application:

php /home/snoweuph/Workspace/Website/bin/console doctrine:fixtures:load

Fixtures are services that are tagged with doctrine.fixture.orm.

If you want to append the fixtures instead of flushing the database first you can use the --append option:

php /home/snoweuph/Workspace/Website/bin/console doctrine:fixtures:load --append

By default Doctrine Data Fixtures uses DELETE statements to drop the existing rows from the database.
If you want to use a TRUNCATE statement instead you can use the --purge-with-truncate flag:

php /home/snoweuph/Workspace/Website/bin/console doctrine:fixtures:load --purge-with-truncate

To execute only fixtures that live in a certain group, use:

php /home/snoweuph/Workspace/Website/bin/console doctrine:fixtures:load --group=group1


Options:
--appendAppend the data fixtures instead of deleting all data from the database first.
--groupOnly load fixtures that belong to this group
--emThe entity manager to use for this command.
--purgerThe purger to use for this command
--purge-exclusionsList of database tables to ignore while purging
--purge-with-truncatePurge data by using a database-level TRUNCATE statement
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - - - - -
- - doctrine:mapping:convert -
This is an execute one-time command. It should not be necessary for
you to call this method multiple times, especially when using the --from-database
flag.

Converting an existing database schema into mapping files only solves about 70-80%
of the necessary mapping information. Additionally the detection from an existing
database cannot detect inverse associations, inheritance types,
entities with foreign keys as primary keys and many of the
semantical operations on associations such as cascade.

Hint: There is no need to convert YAML or XML mapping files to annotations
every time you make changes. All mapping drivers are first class citizens
in Doctrine 2 and can be used as runtime mapping for the ORM.

Hint: If you have a database with tables that should not be managed
by the ORM, you can use a DBAL functionality to filter the tables and sequences down
on a global level:

$config->setSchemaAssetsFilter(function (string|AbstractAsset $assetName): bool {
if ($assetName instanceof AbstractAsset) {
$assetName = $assetName->getName();
}

return !str_starts_with($assetName, 'audit_');
});

Options:
--emName of the entity manager to operate on
--filterA string pattern used to match entities that should be processed.
--force(-f)Force to overwrite existing mapping files.
--from-databaseWhether or not to convert mapping information from existing database.
--extendDefines a base class to be extended by generated entity classes.
--num-spacesDefines the number of indentation spaces
--namespaceDefines a namespace for the generated entity classes, if converted from database.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- to-type dest-path - - - - - - - - - - - - - - - - - - - -
- - doctrine:mapping:import - doctrine:mapping:import command imports mapping information
from an existing database:

Generate annotation mappings into the src/ directory using App as the namespace:
php /home/snoweuph/Workspace/Website/bin/console doctrine:mapping:import App\\Entity annotation --path=src/Entity

Generate xml mappings into the config/doctrine/ directory using App as the namespace:
php /home/snoweuph/Workspace/Website/bin/console doctrine:mapping:import App\\Entity xml --path=config/doctrine

Generate XML mappings into a bundle:
php /home/snoweuph/Workspace/Website/bin/console doctrine:mapping:import "MyCustomBundle" xml

You can also optionally specify which entity manager to import from with the
--em option:

php /home/snoweuph/Workspace/Website/bin/console doctrine:mapping:import "MyCustomBundle" xml --em=default

If you don't want to map every entity that can be found in the database, use the
--filter option. It will try to match the targeted mapped entity with the
provided pattern string.

php /home/snoweuph/Workspace/Website/bin/console doctrine:mapping:import "MyCustomBundle" xml --filter=MyMatchedEntity

Use the --force option, if you want to override existing mapping files:

php /home/snoweuph/Workspace/Website/bin/console doctrine:mapping:import "MyCustomBundle" xml --force

Options:
--emThe entity manager to use for this command
--filterA string pattern used to match entities that should be mapped.
--forceForce to overwrite existing mapping files.
--pathThe path where the files would be generated (not used when a bundle is passed).
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- name mapping-type[=null] - - - - - - - - - - - - - - - - -
- - doctrine:mapping:info - doctrine:mapping:info shows basic information about which
entities exist and possibly if their mapping information contains errors or
not.

Options:
--emName of the entity manager to operate on
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - -
- - doctrine:migrations:current -
Options:
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - -
- - doctrine:migrations:diff - doctrine:migrations:diff command generates a migration by comparing your current database to your mapping information:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:diff


Options:
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--namespaceThe namespace to use for the migration (must be in the list of configured namespaces)
--filter-expressionTables which are filtered by Regular Expression.
--formattedFormat the generated SQL.
--line-lengthMax line length of unformatted lines.
--check-database-platformCheck Database Platform to the generated code.
--allow-empty-diffDo not throw an exception when no changes are detected.
--from-empty-schemaGenerate a full migration as if the current database was empty.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - - - - - - - - -
- - doctrine:migrations:dump-schema - doctrine:migrations:dump-schema command dumps the schema for your database to a migration:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:dump-schema

After dumping your schema to a migration, you can rollup your migrations using the migrations:rollup command.

Options:
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--formattedFormat the generated SQL.
--namespaceNamespace to use for the generated migrations (defaults to the first namespace definition).
--filter-tablesFilter the tables to dump via Regex.
--line-lengthMax line length of unformatted lines.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - - - - - -
- - doctrine:migrations:execute - doctrine:migrations:execute command executes migration versions up or down manually:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:execute FQCN

You can show more information about the process by increasing the verbosity level. To see the
executed queries, set the level to debug with -vv:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:execute FQCN -vv

If no --up or --down option is specified it defaults to up:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:execute FQCN --down

You can also execute the migration as a --dry-run:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:execute FQCN --dry-run

You can output the prepared SQL statements to a file with --write-sql:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:execute FQCN --write-sql

Or you can also execute the migration without a warning message which you need to interact with:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:execute FQCN --no-interaction

All the previous commands accept multiple migration versions, allowing you run execute more than
one migration at once:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:execute FQCN-1 FQCN-2 ...FQCN-n


Options:
--write-sqlThe path to output the migration SQL file. Defaults to current working directory.
--dry-runExecute the migration as a dry run.
--upExecute the migration up.
--downExecute the migration down.
--query-timeTime all the queries individually.
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- versions - - - - - - - - - - - - - - - - - - - - -
- - doctrine:migrations:generate - doctrine:migrations:generate command generates a blank migration class:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:generate


Options:
--namespaceThe namespace to use for the migration (must be in the list of configured namespaces)
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - - -
- - doctrine:migrations:latest -
Options:
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - -
- - doctrine:migrations:list - doctrine:migrations:list command outputs a list of all available migrations and their status:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:list

Options:
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - -
- - doctrine:migrations:migrate - doctrine:migrations:migrate command executes a migration to a specified version or the latest available version:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate

You can show more information about the process by increasing the verbosity level. To see the
executed queries, set the level to debug with -vv:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate -vv

You can optionally manually specify the version you wish to migrate to:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate FQCN

You can specify the version you wish to migrate to using an alias:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate prev
These alias are defined: first, latest, prev, current and next

You can specify the version you wish to migrate to using a number against the current version:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate current+3

You can also execute the migration as a --dry-run:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate FQCN --dry-run

You can output the prepared SQL statements to a file with --write-sql:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate FQCN --write-sql

Or you can also execute the migration without a warning message which you need to interact with --no-interaction:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate --no-interaction

You can also time all the different queries if you want to know which one is taking so long with --query-time:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate --query-time

You can skip throwing an exception if no migration is available with --allow-no-migration:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate --allow-no-migration

You can wrap the entire migration in a transaction with --all-or-nothing:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:migrate --all-or-nothing


Options:
--write-sqlThe path to output the migration SQL file. Defaults to current working directory.
--dry-runExecute the migration as a dry run.
--query-timeTime all the queries individually.
--allow-no-migrationDo not throw an exception if no migration is available.
--all-or-nothingWrap the entire migration in a transaction.
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- version[=null] - - - - - - - - - - - - - - - - - - - - -
- - doctrine:migrations:rollup - doctrine:migrations:rollup command rolls up migrations by deleting all tracked versions and
inserts the one version that exists that was created with the migrations:dump-schema command.

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:rollup

To dump your schema to a migration version you can use the migrations:dump-schema command.

Options:
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - -
- - doctrine:migrations:status - doctrine:migrations:status command outputs the status of a set of migrations:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:status

Options:
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - -
- - doctrine:migrations:sync-metadata-storage - The doctrine:migrations:sync-metadata-storage command updates metadata storage to the latest version,
ensuring it is ready to receive migrations generated by the current version of Doctrine Migrations.


/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:sync-metadata-storage

Options:
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - -
- - doctrine:migrations:up-to-date - doctrine:migrations:up-to-date command tells you if your schema is up-to-date:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:up-to-date

Options:
--fail-on-unregistered(-u)Whether to fail when there are unregistered extra migrations found
--list-migrations(-l)Show a list of missing or not migrated versions.
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - - - -
- - doctrine:migrations:version - doctrine:migrations:version command allows you to manually add, delete or synchronize migration versions from the version table:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:version MIGRATION-FQCN --add

If you want to delete a version you can use the --delete option:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:version MIGRATION-FQCN --delete

If you want to synchronize by adding or deleting all migration versions available in the version table you can use the --all option:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:version --add --all
/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:version --delete --all

If you want to synchronize by adding or deleting some range of migration versions available in the version table you can use the --range-from/--range-to option:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:version --add --range-from=MIGRATION-FQCN --range-to=MIGRATION-FQCN
/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:version --delete --range-from=MIGRATION-FQCN --range-to=MIGRATION-FQCN

You can also execute this command without a warning message which you need to interact with:

/home/snoweuph/Workspace/Website/bin/console doctrine:migrations:version --no-interaction

Options:
--addAdd the specified version.
--deleteDelete the specified version.
--allApply to all the versions.
--range-fromApply from specified version.
--range-toApply to specified version.
--configurationThe path to a migrations configuration file. [default: any of migrations.{php,xml,json,yml,yaml}]
--emThe name of the entity manager to use.
--connThe name of the connection to use.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- version[=null] - - - - - - - - - - - - - - - - - - - - -
- - doctrine:query:dql - doctrine:query:dql command executes the given DQL query and
outputs the results:

php /home/snoweuph/Workspace/Website/bin/console doctrine:query:dql "SELECT u FROM App\Entity\User u"

You can also optionally specify some additional options like what type of
hydration to use when executing the query:

php /home/snoweuph/Workspace/Website/bin/console doctrine:query:dql "SELECT u FROM App\Entity\User u" --hydrate=array

Additionally you can specify the first result and maximum amount of results to
show:

php /home/snoweuph/Workspace/Website/bin/console doctrine:query:dql "SELECT u FROM App\Entity\User u" --first-result=0 --max-result=30

Options:
--emName of the entity manager to operate on
--hydrateHydration mode of result set. Should be either: object, array, scalar or single-scalar.
--first-resultThe first result in the result set.
--max-resultThe maximum number of results in the result set.
--depthDumping depth of Entity graph.
--show-sqlDump generated SQL instead of executing query
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- dql - - - - - - - - - - - - - - - - - - -
- - doctrine:query:sql - doctrine:query:sql command executes the given SQL query and
outputs the results:

php /home/snoweuph/Workspace/Website/bin/console doctrine:query:sql "SELECT * FROM users"

Options:
--connectionThe named database connection
--depthDumping depth of result set (deprecated).
--force-fetchForces fetching the result.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- sql - - - - - - - - - - - - - - - -
- - doctrine:schema:create -
Hint: If you have a database with tables that should not be managed
by the ORM, you can use a DBAL functionality to filter the tables and sequences down
on a global level:

$config->setSchemaAssetsFilter(function (string|AbstractAsset $assetName): bool {
if ($assetName instanceof AbstractAsset) {
$assetName = $assetName->getName();
}

return !str_starts_with($assetName, 'audit_');
});

Options:
--emName of the entity manager to operate on
--dump-sqlInstead of trying to apply generated SQLs into EntityManager Storage Connection, output them.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - -
- - doctrine:schema:drop - Beware that the complete database is dropped by this command, even tables that are not relevant to your metadata model.

Hint: If you have a database with tables that should not be managed
by the ORM, you can use a DBAL functionality to filter the tables and sequences down
on a global level:

$config->setSchemaAssetsFilter(function (string|AbstractAsset $assetName): bool {
if ($assetName instanceof AbstractAsset) {
$assetName = $assetName->getName();
}

return !str_starts_with($assetName, 'audit_');
});

Options:
--emName of the entity manager to operate on
--dump-sqlInstead of trying to apply generated SQLs into EntityManager Storage Connection, output them.
--force(-f)Don't ask for the deletion of the database, but force the operation to run.
--full-databaseInstead of using the Class Metadata to detect the database table schema, drop ALL assets that the database contains.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - - -
- - doctrine:schema:update - doctrine:schema:update command generates the SQL needed to
synchronize the database schema with the current mapping metadata of the
default entity manager.

For example, if you add metadata for a new column to an entity, this command
would generate and output the SQL needed to add the new column to the database:

doctrine:schema:update --dump-sql

Alternatively, you can execute the generated queries:

doctrine:schema:update --force

If both options are specified, the queries are output and then executed:

doctrine:schema:update --dump-sql --force

Finally, be aware that if the --complete option is passed, this
task will drop all database assets (e.g. tables, etc) that are *not* described
by the current metadata. In other words, without this option, this task leaves
untouched any "extra" tables that exist in the database, but which aren't
described by any metadata. Not passing that option is deprecated.

Hint: If you have a database with tables that should not be managed
by the ORM, you can use a DBAL functionality to filter the tables and sequences down
on a global level:

$config->setSchemaAssetsFilter(function (string|AbstractAsset $assetName): bool {
if ($assetName instanceof AbstractAsset) {
$assetName = $assetName->getName();
}

return !str_starts_with($assetName, 'audit_');
});

Options:
--emName of the entity manager to operate on
--completeIf defined, all assets of the database which are not relevant to the current metadata will be dropped.
--dump-sqlDumps the generated SQL statements to the screen (does not execute them).
--force(-f)Causes the generated SQL statements to be physically executed against your database.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - - -
- - doctrine:schema:validate -
Options:
--emName of the entity manager to operate on
--skip-mappingSkip the mapping validation check
--skip-syncSkip checking if the mapping is in sync with the database
--skip-property-typesSkip checking if property types match the Doctrine types
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - - -
- - lint:container -
Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - -
- - lint:twig - lint:twig command lints a template and outputs to STDOUT
the first encountered syntax error.

You can validate the syntax of contents passed from STDIN:

cat filename | php /home/snoweuph/Workspace/Website/bin/console lint:twig -

Or the syntax of a file:

php /home/snoweuph/Workspace/Website/bin/console lint:twig filename

Or of a whole directory:

php /home/snoweuph/Workspace/Website/bin/console lint:twig dirname
php /home/snoweuph/Workspace/Website/bin/console lint:twig dirname --format=json

Or all template files in a bundle:

php /home/snoweuph/Workspace/Website/bin/console lint:twig @AcmeDemoBundle


Options:
--formatThe output format ("txt", "json", "github")
--show-deprecationsShow deprecations as errors
--excludesExcluded directories
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- filename[=null] - - - - - - - - - - - - - - - -
- - lint:yaml - lint:yaml command lints a YAML file and outputs to STDOUT
the first encountered syntax error.

You can validates YAML contents passed from STDIN:

cat filename | php /home/snoweuph/Workspace/Website/bin/console lint:yaml -

You can also validate the syntax of a file:

php /home/snoweuph/Workspace/Website/bin/console lint:yaml filename

Or of a whole directory:

php /home/snoweuph/Workspace/Website/bin/console lint:yaml dirname
php /home/snoweuph/Workspace/Website/bin/console lint:yaml dirname --format=json

You can also exclude one or more specific files:

php /home/snoweuph/Workspace/Website/bin/console lint:yaml dirname --exclude="dirname/foo.yaml" --exclude="dirname/bar.yaml"

Or find all files in a bundle:

php /home/snoweuph/Workspace/Website/bin/console lint:yaml @AcmeDemoBundle


Options:
--formatThe output format ("txt", "json", "github")
--excludePath(s) to exclude
--parse-tagsParse custom tags
--no-parse-tagsNegate the "--parse-tags" option
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- filename[=null] - - - - - - - - - - - - - - - - -
- - presta:sitemaps:dump -
Options:
--sectionName of sitemap section to dump, all sections are dumped by default
--base-urlBase url to use for absolute urls. Good example - http://acme.com/, bad example - acme.com. Defaults to Symfony's default routing context
--gzipGzip sitemap
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- target[=null] - - - - - - - - - - - - - - - -
- - router:match - router:match shows which routes match a given request and which don't and for what reason:

php /home/snoweuph/Workspace/Website/bin/console router:match /foo

or

php /home/snoweuph/Workspace/Website/bin/console router:match /foo --method POST --scheme https --host symfony.com --verbose


Options:
--methodSet the HTTP method
--schemeSet the URI scheme (usually http or https)
--hostSet the URI host
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- path_info - - - - - - - - - - - - - - - -
- - secrets:decrypt-to-local - secrets:decrypt-to-local command decrypts all secrets and copies them in the local vault.

/home/snoweuph/Workspace/Website/bin/console secrets:decrypt-to-local

When the option --force is provided, secrets that already exist in the local vault are overriden.

/home/snoweuph/Workspace/Website/bin/console secrets:decrypt-to-local --force

Options:
--force(-f)Force overriding of secrets that already exist in the local vault
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - -
- - secrets:encrypt-from-local - secrets:encrypt-from-local command encrypts all locally overridden secrets to the vault.

/home/snoweuph/Workspace/Website/bin/console secrets:encrypt-from-local

Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - -
- - secrets:generate-keys - secrets:generate-keys command generates a new encryption key.

/home/snoweuph/Workspace/Website/bin/console secrets:generate-keys

If encryption keys already exist, the command must be called with
the --rotate option in order to override those keys and re-encrypt
existing secrets.

/home/snoweuph/Workspace/Website/bin/console secrets:generate-keys --rotate

Options:
--local(-l)Update the local vault.
--rotate(-r)Re-encrypt existing secrets with the newly generated keys.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - -
- - secrets:list - secrets:list command list all stored secrets.

/home/snoweuph/Workspace/Website/bin/console secrets:list

When the option --reveal is provided, the decrypted secrets are also displayed.

/home/snoweuph/Workspace/Website/bin/console secrets:list --reveal

Options:
--reveal(-r)Display decrypted values alongside names
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - -
- - secrets:remove - secrets:remove command removes a secret from the vault.

/home/snoweuph/Workspace/Website/bin/console secrets:remove

Options:
--local(-l)Update the local vault.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- name - - - - - - - - - - - - - -
- - secrets:reveal - secrets:reveal command reveals a stored secret.

/home/snoweuph/Workspace/Website/bin/console secrets:reveal

Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- name - - - - - - - - - - - - -
- - secrets:set - secrets:set command stores a secret in the vault.

/home/snoweuph/Workspace/Website/bin/console secrets:set

To reference secrets in services.yaml or any other config
files, use "%env()%".

By default, the secret value should be entered interactively.
Alternatively, provide a file where to read the secret from:

php /home/snoweuph/Workspace/Website/bin/console secrets:set filename

Use "-" as a file name to read from STDIN:

cat filename | php /home/snoweuph/Workspace/Website/bin/console secrets:set -

Use --local to override secrets for local needs.

Options:
--local(-l)Update the local vault.
--random(-r)Generate a random value.
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- name file[=null] - - - - - - - - - - - - - - -
- - server:dump - server:dump starts a dump server that collects and displays
dumps in a single place for debugging you application:

php /home/snoweuph/Workspace/Website/bin/console server:dump

You can consult dumped data in HTML format in your browser by providing the --format=html option
and redirecting the output to a file:

php /home/snoweuph/Workspace/Website/bin/console server:dump --format="html" > dump.html


Options:
--formatThe output format (cli, html)
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - -
- - server:log - server:log starts a log server to display in real time the log
messages generated by your application:

php /home/snoweuph/Workspace/Website/bin/console server:log

To filter the log messages using any ExpressionLanguage compatible expression, use the --filter option:

php /home/snoweuph/Workspace/Website/bin/console server:log --filter="level > 200 or channel in ['app', 'doctrine']"

Options:
--hostThe server host
--formatThe line format
--date-formatThe date format
--filterAn expression to filter log. Example: "level > 200 or channel in ['app', 'doctrine']"
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - - - - - -
- - vich:mapping:debug -
Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- mapping - - - - - - - - - - - - -
- - vich:mapping:debug-class -
Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- fqcn - - - - - - - - - - - - -
- - vich:mapping:list-classes -
Options:
--help(-h)Display help for the given command. When no command is given display help for the list command
--quiet(-q)Do not output any message
--verbose(-v)Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version(-V)Display this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiNegate the "--ansi" option
--no-interaction(-n)Do not ask any interactive question
--env(-e)The Environment name.
--no-debugSwitch off debug mode.
--profileEnables profiling (requires debug).

]]>
- - - - - - - - - - - - -
-
- diff --git a/.idea/commandlinetools/schemas/frameworkDescriptionVersion1.1.4.xsd b/.idea/commandlinetools/schemas/frameworkDescriptionVersion1.1.4.xsd deleted file mode 100644 index f2efc6d..0000000 --- a/.idea/commandlinetools/schemas/frameworkDescriptionVersion1.1.4.xsd +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml deleted file mode 100644 index d23208f..0000000 --- a/.idea/jsLibraryMappings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 092dd28..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml deleted file mode 100644 index 06fe68f..0000000 --- a/.idea/php.xml +++ /dev/null @@ -1,406 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/phpspec.xml b/.idea/phpspec.xml deleted file mode 100644 index 90839ee..0000000 --- a/.idea/phpspec.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/phpunit.xml b/.idea/phpunit.xml deleted file mode 100644 index e8bd322..0000000 --- a/.idea/phpunit.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml deleted file mode 100644 index fb0d65a..0000000 --- a/.idea/watcherTasks.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/config/packages/twig.yaml b/app/config/packages/twig.yaml index f9f4cc5..3ffaba2 100644 --- a/app/config/packages/twig.yaml +++ b/app/config/packages/twig.yaml @@ -1,5 +1,5 @@ twig: - default_path: '%kernel.project_dir%/templates' + default_path: '%kernel.project_dir%/frontend/templates' when@test: twig: diff --git a/app/assets/styles/.stylelintrc.json b/app/frontend/styles/.stylelintrc.json similarity index 100% rename from app/assets/styles/.stylelintrc.json rename to app/frontend/styles/.stylelintrc.json diff --git a/app/assets/styles/app.scss b/app/frontend/styles/app.scss similarity index 100% rename from app/assets/styles/app.scss rename to app/frontend/styles/app.scss diff --git a/app/templates/base.html.twig b/app/frontend/templates/base.html.twig similarity index 100% rename from app/templates/base.html.twig rename to app/frontend/templates/base.html.twig diff --git a/app/frontend/tsconfig.json b/app/frontend/tsconfig.json index 1392efc..dcc9b82 100644 --- a/app/frontend/tsconfig.json +++ b/app/frontend/tsconfig.json @@ -14,7 +14,7 @@ ".*" ], "@styles/*": [ - "../assets/styles/*" + "./styles/*" ], "@controllers*": [ "./controllers/*" diff --git a/app/package-lock.json b/app/package-lock.json index 243c413..9134a60 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,5 +1,5 @@ { - "name": "Website", + "name": "Euph Website", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index a2eef87..38506d1 100644 --- a/app/package.json +++ b/app/package.json @@ -8,8 +8,8 @@ "build": "encore production --progress", "lint:ts": "cd frontend && eslint .", "lint:ts:fix": "cd frontend && eslint . --fix", - "lint:scss": "cd assets/styles && stylelint .", - "lint:scss:fix": "cd assets/styles && stylelint . --fix" + "lint:scss": "cd frontend/styles && stylelint .", + "lint:scss:fix": "cd frontend/styles && stylelint . --fix" }, "dependencies": { "easymde": "^2.18.0" diff --git a/app/webpack.config.js b/app/webpack.config.js index 1dbc6c4..90bbf97 100644 --- a/app/webpack.config.js +++ b/app/webpack.config.js @@ -23,7 +23,7 @@ Encore .addEntry('app', './frontend/app.ts') // Style Entries - //.addStyleEntry('name', './assets/styles/name.scss') + //.addStyleEntry('name', './frontend/styles/name.scss') // Webpack .splitEntryChunks()