roromedia/symfony-starter

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:project

v0.1.2 2022-04-13 06:33 UTC

This package is auto-updated.

Last update: 2024-04-13 10:44:34 UTC


README

Unless you're looking to build an api or a command line application - no matter how small your project is or how big it grows - this is a general purpose starting point for pretty much every symfony project containing:

  • separated frontend & backend & general webpack configurations (frontend & backend with tailwindcss setup)
  • LiipImagineBundle preconfigured (including one image-style 'background_image')
  • basic template structure (frontend, backend) with related base-templates.
  • cssnano minification for assets on production builds
  • PagesController with Http-Caching and Sitemap settings

Installation

composer create-project roromedia/symfony-starter my_project_folder
cd my_project_folder 
cp .env .env.local
composer install

npm install && npm run build

# if using yarn 
#yarn install --force && yarn build

# only for production 
symfony console cache:clear
symfony console cache:warmup

# only for development
symfony serve -d
```