craftcms / craft
Craft CMS
Installs: 271 193
Dependents: 2
Suggesters: 1
Security: 0
Stars: 189
Watchers: 16
Forks: 91
Language:Twig
Type:project
Requires
- craftcms/cms: ^5.0.0
- vlucas/phpdotenv: ^5.4.0
Requires (Dev)
- craftcms/generator: ^2.0.0
- yiisoft/yii2-shell: ^2.0.3
- 5.x-dev
- 5.3.2
- 5.3.1
- 5.3.0
- 5.2.0
- 5.1.0
- 5.0.1
- 5.0.0
- 5.0.0-beta.1
- 5.0.0-alpha.1
- 4.x-dev
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.x-dev
- 3.0.1
- 3.0.0
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.64
- 1.0.63
- 1.0.62
- 1.0.61
- 1.0.60
- 1.0.59
- 1.0.58
- 1.0.57
- 1.0.56
- 1.0.55
- 1.0.54
- 1.0.53
- 1.0.52
- 1.0.51
- 1.0.50
- 1.0.49
- 1.0.48
- 1.0.47
- 1.0.46
- 1.0.45
- 1.0.44.1
- 1.0.44
- 1.0.43.2
- 1.0.43.1
- 1.0.43
- 1.0.42.1
- 1.0.42
- 1.0.41
- 1.0.40
- 1.0.39
- 1.0.38
- 1.0.37
- 1.0.36
- 1.0.35
- 1.0.34
- 1.0.33
- 1.0.32
- 1.0.31
- 1.0.30
- 1.0.29
- 1.0.28
- 1.0.27
- 1.0.26.1
- 1.0.26
- 1.0.25.1
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19.1
- 1.0.19
- 1.0.18.1
- 1.0.18
- 1.0.17.2
- 1.0.17.1
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-feature/codespaces
- dev-feature/codespaces-universal
- dev-feature/bh-codespaces
This package is auto-updated.
Last update: 2024-12-16 18:45:36 UTC
README
Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.
In technical terms, it’s a self-hosted PHP application backed by a MySQL or Postgres database. Read more in the official documentation.
Psst! Looking for the Craft source code? Need to file a bug report or feature request? Check out craftcms/cms
.
📯 If you just heard about Craft: Take a feature tour on our website—then spin up a demo project to try it out for yourself.
👷♀️ If you are eager to start building: You’re in exactly the right place!
Getting Started
This repository is a bare-bones Composer “project”, intended for use with the composer create-project
command. It contains only the folders and files absolutely required to run Craft.
Tip
Our tutorial covers this setup process in greater depth. If you get stuck, give it a once-over; if things still aren’t clicking, help is never far away in our community or via official support.
You can also find these instructions (and some other helpful tips) in the documentation.
The best way to spin up your first project is with DDEV, a cross-platform, Docker-based PHP development environment.
- Install DDEV
- Choose a folder for your project and move into it:
cd /path/to/web/projects mkdir my-project cd my-project
- Configure a new DDEV project, and install Craft:
ddev config --project-type=craftcms --docroot=web # Use this package as a starting point: ddev composer create -y --no-scripts craftcms/craft # Run the Craft CMS installer (use all defaults): ddev craft install
- Run
ddev launch
to open the project in your browser.
Craft’s control panel is located at /admin
. The rest is up to you! Pick up where we left off in the tutorial, or dive right in on modeling your own content:
- 🗃️ Elements: Learn about Craft’s core content types, and how to customize them.
- 📐 Fields: Create precisely the data structure and authoring experience you need.
- ✏️ Templating: Start using your data in a totally custom front-end.
Resources
Craft comes with a ton of official and community resources.