Skip to content

Modern Pimcore template combining CMS/PIM/DAM with Vue.js frontend, Docker containerization, and TypeScript support for rapid development.

License

Notifications You must be signed in to change notification settings

rabume/modern-pimcore-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modern Pimcore Template

A modern, production-ready Pimcore template that combines the power of Pimcore's CMS/PIM/DAM capabilities with a Vue.js frontend. Features Docker containerization, TypeScript support, TailwindCSS styling, and a comprehensive development workflow.

⚠️ Work in Progress
This template is currently under active development. Some features may be incomplete or subject to change. Use with caution in production environments.

✨ Used technologies

Used tech

Infrastructure

Backend

Frontend

⚡ Prerequisites

  • Unix based OS (Linux, MacOS, WSL2)
  • Docker (>= 24.0.5) -> This version already includes docker compose
  • make (>= 4.4.1)
  • Node.js (>= 22.11.0) -> Use nvm or directly install Node.js
  • PHP 8.3+ -> For local development (optional, runs in Docker)

🚀 Getting started

  1. Clone the repository:

    git clone <your-repository-url>
  2. Enter the directory:

    cd modern-pimcore-template
  3. Copy the .env.local.example file to .env.local and adjust the variables to your needs
  4. Install dependencies and start development: make dev
  5. Initialize Pimcore (first time only): make init
  6. Access the application:

📦 Commands

Command Description
make help Show available commands
make dev Start development environment (Vite + Docker)
make init Install Pimcore and setup project (first time only)
make stop Stop development environment
make drop Remove containers and volumes
make test Start test profile services
make dependencies Install Node.js and PHP dependencies
make setup-project Run project setup (documents, data setup)
make dump Export database schema and data to dump files

🗃️ Database Dump System

The project includes a sophisticated database dump system located in the dump/ folder:

  • dump/dump.php: Smart export script that creates seed files for your Pimcore installation
  • Purpose: Exports database schema and data while excluding Pimcore's core tables (already in install.sql)
  • Output: Creates multiple SQL files:
    • data-0-bootstrap.sql: Custom table schemas
    • data-1-[table].sql: Table data (per table)
    • data-2-views.sql: Database views
  • Usage: Run make dump to export current database state for sharing or backup

The dump system automatically excludes temporary tables (cache, logs, locks) and handles virtual columns properly.

🏗️ Project Structure

├── assets/          # Frontend assets (SCSS, TypeScript, Vue components)
├── config/          # Symfony & Pimcore configuration
├── docker/          # Docker configuration files
├── dump/            # Database dump system
├── public/          # Web root
├── src/             # PHP application code
├── templates/       # Twig templates
├── tests/           # Codeception tests
├── var/             # Generated files (classes, cache)
└── Makefile         # Development commands

🧪 Testing

Run tests using Codeception:

make test

Tests are organized in:

  • tests/Unit/ - Unit tests
  • tests/Functional/ - Functional tests

📝 Development Notes

  • The project uses Pimcore's Data Hub for GraphQL API endpoints
  • Frontend assets are built with Vite and served during development
  • Docker handles the PHP/nginx/database stack
  • The Makefile sources environment variables from .env.local
  • Event management system with Vue.js components for interactive features
  • Web2Print functionality for document generation

About

Modern Pimcore template combining CMS/PIM/DAM with Vue.js frontend, Docker containerization, and TypeScript support for rapid development.

Topics

Resources

License

Stars

Watchers

Forks