PHPackages                             statikbe/craft - 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. statikbe/craft

ActiveProject

statikbe/craft
==============

Craft CMS starter package, by Statik.be

5.12.0(2mo ago)325045[43 issues](https://github.com/statikbe/craft/issues)[10 PRs](https://github.com/statikbe/craft/pulls)TypeScriptPHP &gt;=8.4CI failing

Since Sep 3Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/statikbe/craft)[ Packagist](https://packagist.org/packages/statikbe/craft)[ RSS](/packages/statikbe-craft/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (32)Versions (163)Used By (0)

Craft CMS starter package by Statik.be
======================================

[](#craft-cms-starter-package-by-statikbe)

This a scaffolding package for Craft CMS, by [Statik.be](https://www.statik.be). We use this internally to start new projects.

### Assumptions made

[](#assumptions-made)

We assume a couple of things

- We use [Ddev](https://ddev.com/) as our local development environment.
- We use [Postmark](https://postmarkapp.com/) for email delivery.
- We use [TailwindCSS](https://tailwindcss.com/) for our frontend build.

---

### 🛠 Usage

[](#-usage)

Before beginning make sure you have [Ddev](https://ddev.com/) installed and your docker-engine is running. Otherwise the install process will fail on initialization.

Use the following command to set up a new project:

```
composer create-project statikbe/craft PATH
```

➡️ A Craft CMS project will be created. Next Craft asks to start the set-up:

```
   ______ .______          ___       _______ .___________.
  /      ||   _  \        /   \     |   ____||           |
 |  ,----'|  |_)  |      /  ^  \    |  |__   `---|  |----`
 |  |     |      /      /  /_\  \   |   __|      |  |
 |  `----.|  |\  \----./  _____  \  |  |         |  |
  \______|| _| `._____/__/     \__\ |__|         |__|

     A       N   E   W       I   N   S   T   A   L   L
               ______ .___  ___.      _______.
              /      ||   \/   |     /       |
             |  ,----'|  \  /  |    |   (----`
             |  |     |  |\/|  |     \   \
             |  `----.|  |  |  | .----)   |
              \______||__|  |__| |_______/

Generating an application ID ... done
Generating a security key ... done

Welcome to Craft CMS!

Are you ready to begin the setup? (yes|no) [yes]
```

➡️ The next questions will be asked:

- Which database driver are you using? (mysql or pgsql)
- Database server name or IP address \[127.0.0.1\]
- Database port \[3306\]
- Database username \[root\]
- Database password
- Database name
- Database table prefix

➡️ Using the above defaults suggested by craft, will allow you to connect to your Ddev database and the installation will continue.

- Install Craft now? \[yes\]
- Email
- Password
- Confirm
- Site name \[NL\]
- Site URL \[@baseUrl/nl\]
- Site language \[nl-BE\]

➡️ Craft is installed, the plugins are installed and the existing project config is applied! 🚀

Now we're ready to initiate the Statik set-up:

```
cd PATH

ddev craft statik/setup
```

➡️ This will give you the following options/ask you the following questions:

```
       _______.___________.    ___   .___________.__   __  ___
        /       |           |   /   \  |           |  | |  |/  /
       |   (----`---|  |----`  /  ^  \ `---|  |----|  | |  '  /
        \   \       |  |      /  /_\  \    |  |    |  | |
