Download the PHP package viget/craft-site-starter without Composer
On this page you can find all versions of the php package viget/craft-site-starter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package craft-site-starter
Viget's Craft CMS Starter
This repo is a Composer "project" intended for use with the composer create-project
command.
Our starter uses DDEV for local development. Install it before doing any of the following steps.
Features
- Local development powered by DDEV
- Vite based front-end build tooling.
- Automatic linting, formatting and typechecking
- Runs on git pre-commit hook with Husky
- Only processes staged files using lint-staged
- Prettier, eslint, PHPStan, PHP Easy Coding Standard
- Common plugins come pre-installed
- Local email is routed through Mailpit ( never worry about emailing a client or user)
Getting Started
Create Project
- Install DDEV
-
Choose a folder for your project and move into it:
-
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
If you'd rather not set up PHP, you can create the project with a desposable Docker image (Thanks nystudio107).
-
Start DDEV & Install Craft
- Run
ddev launch
to open the project in your browser
Plugins
This starter includes common plugins that we use on most of our sites. This provides consistency and familiarly between client projects. You may not need every plugin, but avoid replacing standard plugins with similar alternatives (unless absolutely necessary).
Name | Composer | Usage | Year 1 Price | Renewal Price |
---|---|---|---|---|
Amazon S3 | craftcms/aws-s3 |
This plugin integrates Craft CMS and Amazon S3 cloud storage service. | Free | Free |
Autocomplete | nystudio107/craft-autocomplete |
Provides Twig template IDE autocomplete of Craft CMS & plugin variables. Requires the PHPStorm Symphony Support Plugin | Free | Free |
CKEditor | craftcms/ckeditor |
Craft CMS’s official rich text plugin | Free | Free |
Classnames | viget/craft-classnames |
Conditionally join css class names together in Twig | Free | Free |
CP Field Inspect | mmikkel/cp-field-inspect |
CP Field Inspect is a tiny utility plugin, that makes content modelling a little bit easier in Craft. | Free | Free |
Empty Coalesce | nystudio107/craft-emptycoalesce |
Adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty. |
Free | Free |
Imager X | spacecatninja/imager-x |
Image optimization and Imgix connector. Provides useful Twig shortcuts for generating transforms and placeholders. | $99.00 | $59.00 |
Navigation | verbb/navigation |
Simplifies management of complex navigation groups (main menus, footer menus, etc.) | $19.00 | $5.00 |
Retour | nystudio107/craft-retour |
Provides an Craft admin UI to set up redirects. Will automatically create redirects when URLs of entries change. | $59.00 | $29.00 |
SEOMatic | nystudio107/craft-seomatic |
A turnkey SEO plugin that follows modern SEO best practices. | $99.00 | $49.00 |
Vite | nystudio107/craft-vite |
Loads front-end files that are compiled by Vite. | Free | Free |
Contribute to this starter
Local Dev
Ideally, you should be able to clone this repo and make modifications to plugin & build tool configs with minimal fuss.
Run ddev start
and make edits in a feature branch.
See ARCHITECTURE.md for details on technical goals & decisions.
All versions of craft-site-starter with dependencies
craftcms/ckeditor Version 4.0.6
craftcms/cms Version ^5.0.0
mmikkel/cp-field-inspect Version 2.0.1
nystudio107/craft-emptycoalesce Version 5.0.0
nystudio107/craft-retour Version 5.0.0
nystudio107/craft-seomatic Version 5.0.3
nystudio107/craft-vite Version ^5.0.0
spacecatninja/imager-x Version 5.0.0
verbb/navigation Version 3.0.0
viget/craft-classnames Version 3.0.0
vlucas/phpdotenv Version ^5.4.0