All Projects → madebyshape → craft-3

madebyshape / craft-3

Licence: MIT license
Boilerplate with Craft CMS, Tailwind CSS, VueJS & Alpine.js used for internal projects.

Programming Languages

shell
77523 projects
Twig
543 projects
javascript
184084 projects - #8 most used programming language
PHP
23972 projects - #3 most used programming language
SCSS
7915 projects
Vue
7211 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to craft-3

craft-connect
Allows you to connect to external databases and perform db queries
Stars: ✭ 16 (-52.94%)
Mutual labels:  craftcms, craft3
anchors
Add anchor links to headings in your Craft CMS website content.
Stars: ✭ 47 (+38.24%)
Mutual labels:  craftcms, craft3
tablemaker
A user-definable table field type for Craft CMS
Stars: ✭ 39 (+14.71%)
Mutual labels:  craftcms, craft3
store-hours
Manage business hours with Craft CMS.
Stars: ✭ 60 (+76.47%)
Mutual labels:  craftcms, craft3
contact-form-honeypot
Add a honeypot captcha to your Craft CMS contact form.
Stars: ✭ 24 (-29.41%)
Mutual labels:  craftcms, craft3
craft3-fallback-site
Failing requests in a multi-site install can fall back to other sites, to prevent 404 errors from missing or disabled entries.
Stars: ✭ 14 (-58.82%)
Mutual labels:  craftcms, craft3
craft-grid
A field that lets you content manage CSS Grid in Craft CMS.
Stars: ✭ 18 (-47.06%)
Mutual labels:  craftcms, craft3
craft-cookies
A simple plugin for setting and getting cookies from within Craft CMS templates.
Stars: ✭ 36 (+5.88%)
Mutual labels:  craftcms, craft3
craft-entry-instructions
A simple fieldtype to add instructions.
Stars: ✭ 16 (-52.94%)
Mutual labels:  craftcms, craft3
guild
Guild - Build Your Guild and award employees with Crypto 💰
Stars: ✭ 3 (-91.18%)
Mutual labels:  tailwindcss, alpinejs
tags
A tag manager for Craft 3
Stars: ✭ 23 (-32.35%)
Mutual labels:  craftcms, craft3
seomate
SEO, mate! It's important. That's why SEOMate provides the tools you need to craft all the meta tags, sitemaps and JSON-LD microdata you need - in one highly configurable, open and friendly package - with a super-light footprint.
Stars: ✭ 31 (-8.82%)
Mutual labels:  craftcms, craft3
craft-react
Client and Server-side React rendering for CraftCMS
Stars: ✭ 40 (+17.65%)
Mutual labels:  craftcms, craft3
query
Run SQL queries as an admin from the Craft CMS control panel.
Stars: ✭ 14 (-58.82%)
Mutual labels:  craftcms, craft3
Inlin-Craft
Plugin for inlining files in templates.
Stars: ✭ 64 (+88.24%)
Mutual labels:  craftcms, craft3
craft-typogrify
Typogrify prettifies your web typography by preventing ugly quotes and 'widows' and more
Stars: ✭ 70 (+105.88%)
Mutual labels:  craftcms, craft3
craft3-blockonomicon
Manage matrix fields on a per-block basis. Bundle presentation with blocks. Render entire matrices with a single line.
Stars: ✭ 32 (-5.88%)
Mutual labels:  craftcms, craft3
craft-audit
Audit log for Craft 3
Stars: ✭ 18 (-47.06%)
Mutual labels:  craftcms, craft3
craft-starter
Good defaults for Craft CMS projects
Stars: ✭ 18 (-47.06%)
Mutual labels:  craftcms, craft3
tall-toasts
A Toast notification library for the Laravel TALL stack. You can push notifications from the backend or frontend to render customizable toasts with almost zero footprint on the published CSS/JS 🔥🚀
Stars: ✭ 296 (+770.59%)
Mutual labels:  tailwindcss, alpinejs

Craft CMS 4.x, Tailwind CSS, VueJS and AlpineJS

This is a Craft CMS 4.x boilerplate MadeByShape use internally for projects.

It's built with the intention of being used with Tailwind CSS, VueJS and Alpine.js frameworks.

It uses both Webpack and Gulp (For now) to build the project.

Requirements

  • PHP 8.0+
  • Composer 2.x.x

Install

  1. composer create-project madebyshape/craft-cms
  2. Don't run, ./craft setup, instead manually edit the .env file.
  3. Once the .env is filled in, run ./craft install

npm Scripts

npm run dev Your go to for local development

npm run prod Generates production assets (Minify, favicon etc). Perfect for running on server.

npm run setup If project already exists, this will pull, migrate and apply project config and run dev tasks

Whats included

  • Craft CMS 4.x
  • CSS
  • Javascript
  • Templates
    • Blocks
    • Components
    • Pages (With dynamic page types)
    • Email
    • Exceptions
    • Plugins
      • Freeform
  • Config
    • Customised .env file
    • Customised general.php
    • Project Config (Using config/project.yaml)
    • Plugin configs:
      • Asset Rev
      • Blitz
      • Freeform
      • Imager X
      • Minify
      • SEOMatic
  • Plugins
    • Asset Rev
    • Blitz
    • Default Dashboard
    • Freeform
    • Imager X
    • Link Field
    • Minify
    • Redactor
    • Retour
    • SEOMatic
    • Super Table
  • Extras
    • Scripts (To pull assets, db etc from different environments)
    • .gitignore
      • Gulp / Packages
      • SASS
      • Javascript
      • OS Files
      • Craft CMS
      • Caching
      • Asset Source Folders
      • Log files
      • Editor directories and files

Terminology

Components

Components are small bits of a template, e.g. a button, input field that then either make up a block or a full template. Use the components folder and name each component file by it's use case e.g. inputField.twig.

Make sure to describe each component at the top of each component file so other developers know how it is used. If the component accepts any attributes, make sure you include a description of these at the top of each component (Camel Case) file (See the components/_example.twig) file.

Blocks

Blocks are large chunks of markup, or made up of smaller components. E.g. a block could be a form, with button and input field components included. Use the blocks folder and name each component file (Camel Case) by it's use case e.g. largeForm.twig (If a SASS file exists for a block, use the same file name).

Blocks ideally should be selectable via a Matrix Field so CP users can pick and choose these per template. In some cases this might not be possible though, e.g. if the page is dynamically generated.

Roadmap

[] Use Webpack solely instead of a mixture of Webpack and Gulp [] Add Google Workbox [] rel="preload" fonts via a Webpack task [] Move some Twig components in to VueJS

Developers

MadeByShape - https://madebyshape.co.uk
Jason Mayo - https://github.com/bymayo / https://bymayo.co.uk

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].