Diferencia entre revisiones de «Comandos de consola Symfony»

De Wiki Proyectos Beta
Ir a la navegación Ir a la búsqueda
([feat] Add information Comandos de consola Symfony)
Línea 34: Línea 34:


  symfony server:start --port=8080
  symfony server:start --port=8080
=== Para server dev ===
symfony server:stop

Revisión del 16:36 6 nov 2023

Cache

Limpiar cache

php bin/console cache:clear

Doctrine

Crear base de datos

php bin/console doctrine:database:create

Listar todos los comandos sobre doctrine

php bin/console list doctrine

Rutas

Listar las rutas

php bin/console debug:router

Server

Levantar server dev

symfony server:start

o

symfony serve -d

Elegir el puerto

symfony server:start --port=8080

Para server dev

symfony server:stop