mbrauner/symfony-starter

A starter project for symfony applications.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:project

v0.1.2 2022-04-10 14:00 UTC

This package is auto-updated.

Last update: 2024-12-20 22:10:33 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 mbrauner/symfony-starter
cd my_project_folder 
cp .env .env.local
composer install

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

symfony console cache:clear
symfony console cache:warmup

symfony serve -d
```