PHPackages                             viget/craft-site-starter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. viget/craft-site-starter

ActiveProject

viget/craft-site-starter
========================

5.0.3(1y ago)231483[40 issues](https://github.com/vigetlabs/craft-site-starter/issues)[5 PRs](https://github.com/vigetlabs/craft-site-starter/pulls)0BSDTwig

Since Apr 24Pushed 1mo ago11 watchersCompare

[ Source](https://github.com/vigetlabs/craft-site-starter)[ Packagist](https://packagist.org/packages/viget/craft-site-starter)[ RSS](/packages/viget-craft-site-starter/feed)WikiDiscussions 5.x Synced 1mo ago

READMEChangelog (2)Dependencies (20)Versions (21)Used By (0)

[![Craft Site Starter](docs/project-logo.png)](docs/project-logo.png)

Viget's Craft CMS Starter
=========================

[](#vigets-craft-cms-starter)

Our Craft Site Starter is a quick way to spin up a new Craft CMS project. It's pre-configured with top-notch build tooling, common plugins and starter components based on [Blueprint](https://github.com/vigetlabs/blueprint).

If you're a designer or developer at Viget working on a new project, view our [Building with Craft Site Starter](docs/building-with-site-starter.md) guide for more information.

Features
========

[](#features)

- Local development [powered by DDEV](https://ddev.com/)
- [Vite](https://vitejs.dev/) based front-end build tooling.
- Automatic linting, formatting and typechecking
    - Runs on git pre-commit hook with [Husky](https://typicode.github.io/husky/)
    - Only processes staged files using [lint-staged](https://github.com/lint-staged/lint-staged)
    - [Prettier](https://prettier.io/), [eslint](https://eslint.org/), [PHPStan](https://github.com/craftcms/phpstan), [PHP Easy Coding Standard](https://github.com/craftcms/ecs)
- Common plugins come pre-installed
- Local email is routed through [Mailpit](https://ddev.readthedocs.io/en/stable/users/usage/developer-tools/#email-capture-and-review-mailpit) ( never worry about emailing a client or user)
- Starter components based on [Blueprint](https://github.com/vigetlabs/blueprint)
- A fully accessible header and navigation
- A simple Matrix Field based block editor

Getting Started
===============

[](#getting-started)

Create Project
--------------

[](#create-project)

1. [Install DDEV](https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/)
2. Choose a folder for your project and move into it:

    ```
    cd /path/to/web/projects
    mkdir my-project
    cd my-project
    ```
3. Create The Project If you already have PHP and Composer running on your host machine (your computer, not Docker container or DDEV instance), you can run the following command

    ```
    composer create-project viget/craft-site-starter=^5.0.0 ./ --ignore-platform-reqs
    ```

    If you'd rather not set up PHP, you can create the project with a disposable Docker image ([Thanks nystudio107](https://nystudio107.com/blog/dock-life-using-docker-for-all-the-things)).

    ```
    docker run --rm -it -v "$PWD":/app -v ${COMPOSER_HOME:-$HOME/.composer}:/tmp composer create-project viget/craft-site-starter=^5.0.0 ./ --ignore-platform-reqs
    ```
4. Start DDEV &amp; Install Craft

    ```
    ddev start
    ddev craft install
    ```
5. Run `ddev launch` to open the project in your browser

Plugins
=======

[](#plugins)

This starter includes common plugins that we use on most of our sites. This provides consistency and familiarity between client projects. You may not need every plugin, but avoid replacing standard plugins with similar alternatives (unless absolutely necessary).

NameComposerUsageYear 1 PriceRenewal Price[Amazon S3](https://plugins.craftcms.com/aws-s3)`craftcms/aws-s3`This plugin integrates Craft CMS and Amazon S3 cloud storage service.FreeFree[Autocomplete](https://github.com/nystudio107/craft-autocomplete)`nystudio107/craft-autocomplete`Provides Twig template IDE autocomplete of Craft CMS &amp; plugin variables. Requires the [PHPStorm Symfony Support Plugin](https://plugins.jetbrains.com/plugin/7219-symfony-support)FreeFree[CKEditor](https://plugins.craftcms.com/ckeditor)`craftcms/ckeditor`Craft CMS’s official rich text pluginFreeFree[Classnames](https://plugins.craftcms.com/classnames)`viget/craft-classnames`Conditionally join css class names together in TwigFreeFree[Empty Coalesce](https://plugins.craftcms.com/empty-coalesce)`nystudio107/craft-emptycoalesce`Adds the `???` operator to Twig that will return the first thing that is defined, not null, and not empty.FreeFree[Imager X](https://plugins.craftcms.com/imager-x)`spacecatninja/imager-x`Image optimization and Imgix connector. Provides useful Twig shortcuts for generating transforms and placeholders.$99.00$59.00[Navigation](https://plugins.craftcms.com/navigation)`verbb/navigation`Simplifies management of complex navigation groups (main menus, footer menus, etc.)$19.00$5.00[Retour](https://plugins.craftcms.com/retour)`nystudio107/craft-retour`Provides a Craft admin UI to set up redirects. Will automatically create redirects when URLs of entries change.$59.00$29.00[SEOMatic](https://plugins.craftcms.com/seomatic)`nystudio107/craft-seomatic`A turnkey SEO plugin that follows [modern SEO best practices](https://nystudio107.com/blog/modern-seo-snake-oil-vs-substance).$99.00$49.00[Vite](https://plugins.craftcms.com/vite)`nystudio107/craft-vite`Loads front-end files that are compiled by Vite.FreeFree[Expanded Singles](https://plugins.craftcms.com/expanded-singles)`verbb/expanded-singles`Change the entries index sidebar to list all singles, rather than grouping them under a 'Singles' menu item.FreeFreeContribute to this starter
==========================

[](#contribute-to-this-starter)

Local Dev
---------

[](#local-dev)

Ideally, you should be able to clone this repo and make modifications to plugin &amp; build tool configs with minimal fuss.

Run the following and make edits in a feature branch:

```
ddev start
ddev craft install
```

See [ARCHITECTURE.md](ARCHITECTURE.md) for details on technical goals &amp; decisions.

Release Testing
---------------

[](#release-testing)

Before releasing, run the following tests.

### Verify project renaming scripts work

[](#verify-project-renaming-scripts-work)

- From within the Craft Site Starter repo, run `ddev composer run-script post-create-project-cmd` and follow the prompts.
- Use your IDE's diff view to verify that files are renamed properly.

Show Example[![Screenshot showing a diff of the codebase](docs/release-qa-1.png)](docs/release-qa-1.png)

[![Screenshot showing a diff of the codebase](docs/release-qa-2.png)](docs/release-qa-2.png)

### Run the composer create script to create a new project.

[](#run-the-composer-create-script-to-create-a-new-project)

```
docker run --rm -it -v "$PWD":/app -v ${COMPOSER_HOME:-$HOME/.composer}:/tmp composer create-project viget/craft-site-starter=5.x-dev ./ --ignore-platform-reqs
```

- Follow the prompts to create a new local site.
- Install Craft and ensure home page and Craft admin load.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance52

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~137 days

Recently: every ~172 days

Total

6

Last Release

64d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9728af4299f2de6d5f099f957bf6f4c8b312076b104910f8d4d8afc39540b686?d=identicon)[viget](/maintainers/viget)

---

Top Contributors

[![joshuapease](https://avatars.githubusercontent.com/u/2145998?v=4)](https://github.com/joshuapease "joshuapease (138 commits)")[![maxfenton](https://avatars.githubusercontent.com/u/906502?v=4)](https://github.com/maxfenton "maxfenton (10 commits)")[![andrewmosby](https://avatars.githubusercontent.com/u/26795419?v=4)](https://github.com/andrewmosby "andrewmosby (1 commits)")[![nathan-schmidt-viget](https://avatars.githubusercontent.com/u/91974372?v=4)](https://github.com/nathan-schmidt-viget "nathan-schmidt-viget (1 commits)")

---

Tags

craftcms

### Embed Badge

![Health badge](/badges/viget-craft-site-starter/health.svg)

```
[![Health](https://phpackages.com/badges/viget-craft-site-starter/health.svg)](https://phpackages.com/packages/viget-craft-site-starter)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
