Skip to content

Latest commit

 

History

History
99 lines (60 loc) · 1.45 KB

readme.md

File metadata and controls

99 lines (60 loc) · 1.45 KB

Symfony Base

Table of contents


Prerequisites

Optional Tools


Installing

Automatically

  (yarn|make) startup

Manually

  yarn && composer install

  # or with make

  make install

Set up environment and parameters and configure to your needs

  cp .env.example .env && cp ./config/parameters.yml.example ./config/parameters.yml

Commands

  # build assets dev
  yarn dev

  # build assets prod
  yarn prod

  # watch assets
  yarn watch

  # initialize project
  yarn startup

 

With make

  cache-clear: ## clear symfony cache

  clear-thumbs: ## clear liip imagine cache

  entity: ## create doctrine enitity

  help: ## show this help

  install: ## install dependencies

  migrate: ## migrate database

  migrate-first: ## revert database

  migrate-next: ## migrate database to next version
  
  migrate-prev: ## migrate database to previous version

  migration: ## create migration

  phpstan: ## execute php analysis

  startup: ## initialize project

  webpack: ## build assets dev

  webpack-p: ## build assets prod

  webpack-watch: ## watch assets