Skip to content

thasmo/craft-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

276 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Craft CMS Boilerplate

Personal boilerplate for Craft CMS projects.

Features

  • DDEV Integration for Local Development
  • Application Configuration via Environment Variables
  • Separate Host/PHP Setup for Control Panel
  • Easy Coding Standard Integration for Code Style
  • PHPStan Integration for Code Quality
  • Application Cache via Redis
  • Session Storage via Redis
  • Queue Job Storage via Redis
  • Various Control Panel Tweaks
  • Upsun Configuration
  • Vite+ Integration for Frontend Development
  • Vue.js Integration for Frontend Development
  • UnoCSS Integration for Styling

Prerequisites

  • Git
  • DDEV
  • Vite+
  • Upsun

Setup

prepare configuration

cp .env.development .env

start containers

ddev start

install dependencies

ddev composer install
ddev vp install

build frontend

ddev vp build

install application

ddev craft install

import data

upsun db:dump -o | ddev import-db
upsun mount:download --app=panel --mount=web/files --target=web/files

open application

ddev launch

Development

URLs

start server

ddev vp dev

build bundle

ddev vp build

observe logs

ddev logs --follow

About

Personal boilerplate for Craft CMS projects.

Resources

Stars

Watchers

Forks

Contributors