marbles / craft
Marbles Craft 3 CMS scaffolding project
Installs: 103
Dependents: 0
Suggesters: 0
Security: 0
Stars: 19
Watchers: 2
Forks: 3
Language:Twig
Type:project
Requires
- aelvan/imager: 2.4.0
- carlcs/craft-redactorcustomstyles: 3.0.4
- charliedev/section-field: 1.1.0
- craftcms/cms: 3.6.12
- craftcms/redactor: 2.8.6
- ether/seo: 3.6.7
- glue-agency/craft-fingerprint-assets: 1.0.1
- hybridinteractive/craft-position-fieldtype: 1.0.17
- nystudio107/craft-eagerbeaver: 1.0.4
- nystudio107/craft-minify: 1.2.10
- nystudio107/craft-scripts: ^1.2.4
- nystudio107/craft-twigpack: 1.2.13
- nystudio107/craft-typogrify: 1.1.18
- percipioglobal/craft-colour-swatches: 1.4.1.1
- putyourlightson/craft-elements-panel: 1.1.1
- putyourlightson/craft-sprig: 1.5.2
- sebastianlenz/linkfield: 1.0.25
- solspace/craft-freeform: 3.10.11
- spicyweb/craft-embedded-assets: 2.5.3
- spicyweb/craft-neo: 2.9.6
- utakka/redactor-anchors: 1.1.0
- verbb/expanded-singles: 1.1.3
- verbb/navigation: 1.4.15
- verbb/super-table: 2.6.7
- vlucas/phpdotenv: ^3.0
- wbrowar/adminbar: 3.1.11
- youandmedigital/breadcrumb: 1.1.0
Requires (Dev)
- yiisoft/yii2-shell: ^2.0.3
- dev-main
- 3.0.2
- 3.0.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.7.0
- 1.6.2
- 1.6.1
- 1.6.0
- dev-dependabot/npm_and_yarn/webpack-5.76.0
- dev-dependabot/composer/craftcms/cms-3.7.64
- dev-dependabot/npm_and_yarn/dns-packet-5.4.0
- dev-dependabot/npm_and_yarn/sideway/formula-3.0.1
- dev-dependabot/npm_and_yarn/http-cache-semantics-4.1.1
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-dependabot/npm_and_yarn/got-11.8.5
- dev-dependabot/composer/guzzlehttp/guzzle-7.4.5
- dev-hide-alerts
- dev-renewal
This package is auto-updated.
Last update: 2024-10-23 21:17:28 UTC
README
About marbles/craft
This is an alternate scaffolding package for Craft 3 CMS projects to Pixel & Tonic's canonical craftcms/craft package based on nystudio107/craft.
In addition to setting up a new Craft 3 CMS project, this project sets up:
- Craft 3 Multi-Environment as described in the Multi-Environment Config for Craft CMS article
- Craft-Scripts as described in the Database & Asset Syncing Between Environments in Craft CMS, Mitigating Disaster via Website Backups & Hardening Craft CMS Permissions articles
...and sets up some other base scaffolding as described to the following articles:
- Frontend Development Automation using Laravel Mix
- Implementing Critical CSS on your website
- Enhancing a Craft CMS 3 Website with a Custom Module
It also installs a few base plugins that we use on every project.
Assumptions Made
Since this is boilerplate that Marbles uses for projects, it is by definition opinionated, and has a number of assumptions:
- Laravel Mix is used as a the frontend workflow automation tool
- Vue is used as the frontend JavaScript framework, with Axios providing the http client
- Tailwind CSS is used as the utility-first CSS framework
- Critical CSS is used site-wide
- Craft-Scripts are used for db/asset synching
- Craft 3 Multi-Environment is used for the Craft 3 multi-environment setup
Obviously you're free to remove whatever components you don't need/want to use.
Using marbles/craft
This project package works exactly the way Pixel & Tonic's craftcms/craft package works; you create a new project by first creating & installing the project:
composer create-project marbles/craft PATH
Make sure that PATH
is the path to your project, including the name you want for the project, e.g.:
composer create-project marbles/craft craft3
Then cd
to your new project directory, and run Craft's setup
console command to create your .env
environments and optionally install:
cd PATH
./craft setup
Finally, run the marbles-setup
command to configure Craft-Scripts & Craft 3 Multi-Environment based on your newly created .env
settings:
./marbles-setup
That's it, enjoy!
If you ever delete the vendor
folder or such, just re-run:
./marbles-setup
...and it will re-create the symlink to your .env.sh
; don't worry, it won't stomp on any changes you've made.
Below is the entire intact, unmodified README.md
from Pixel & Tonic's craftcms/craft:
.....
About Craft CMS
Craft is a flexible and scalable CMS for creating bespoke digital experiences on the web and beyond.
It features:
- An intuitive Control Panel for administration tasks and content creation.
- A clean-slate approach to content modeling and front-end development.
- A built-in Plugin Store with hundreds of free and commercial plugins.
- A robust framework for module and plugin development.
Learn more about it at craftcms.com.
Tech Specs
Craft is written in PHP (7+), and built on the Yii 2 framework. It can connect to MySQL (5.5+) and PostgreSQL (9.5+) for content storage.
Installation
See the following documentation pages for help installing Craft 3:
Resources
Official Resources
- Documentation – Everything from usage instructions to plugin guides.
- Class Reference – Full API and class reference for plugin and module developers.
- Demo site – Quickly launch a personalized demo of a Craft site.
- Craft Slack – Join one of the most friendly and helpful Slack groups around.
- Craft Commerce – First-party e-commerce platform for Craft.
Community Resources
- CraftQuest – Unlimited access to Craft training (and more) from Mijingo.
- Envato Tuts+ – Video courses.
- nystudio107 Blog – Articles about Craft and modern web development.
- Craft Link List – Bimonthly newsletter about the Craft ecosystem.
- Craft CMS Stack Exchange – Community-run Q&A for Craft developers.