Download the PHP package brikdigital/craft-baseplate without Composer
On this page you can find all versions of the php package brikdigital/craft-baseplate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package craft-baseplate
Brik Craft CMS Baseplate
Setup guide
It's possible to do this setup without first setting up a blank DDEV project; but you'll need a local install of PHP and Composer. This approach is completely possible but unsupported, and as such will not be documented.
Development
To start the Vite dev server, use either ddev pnpm serve or make dev. (the latter of which is a legacy command)
Additionally, there is a Storybook install that you can start with make storybook. This will be accessible on project-name.ddev.site:3001.
Instructions for migrating singles to indexes (separated by site)
Prepare
- Create section “Indexes” with all entry types of existing singles
- Type: Structure
- URI:
{parent.uri}/{slug} - Template:
_sections/indexes/entry.twig - Propagation: Only save entries to the site they were created in
- Default table columns: Entry Type, Status, Date Updated, Authors, Link
- Settings > Users > For each user group: Assign permissions for indexes
- Navigation > Edit Settings for each menu > Permissions: Enable indexes
- Remember to check all sites for menu's, since some menu’s may only be on specific site
- Templates
- Create
templates/_sections/indexes/entry.twigcontaining{% include '_sections/indexes/' ~ entry.type.handle ~ '.twig' %} - Move all templates of singles into indexes directory and rename each template to the handle of the entry type it is used for
- Check the single templates for extends/includes query that use
..in path and may now be incorrect - Search project for usage of section handles of singles in queries. Replace these with
section('indexes').type(ENTRY_TYPE_HANDLE)
- Create
Execute
When ready to deploy to production
- Create manual backup of production database
- Run
ddev craft site-module/migrate-singles/set-legacy-uri-formatlocally- Deploy these changes first. The site will be broken now.
- After configuration changes have been deployed, execute the following commands directly on the server
php craft site-module/migrate-singles/migrate-singlesphp craft site-module/migrate-singles/migrate-fields- If Navigation-plugin is used:
php craft site-module/migrate-singles/migrate-nav-nodes
- When confirmed everything is working: Delete all old sections of singles
Notes when updating dependencies
Storybook
Do NOT manually bump Storybook's version through pnpm commands or package.json edits.
pnpm dlx storybook@latest upgrade will guide you through the process and make the necessary edits to the code if needed.
React and Webpack
These are solely here for Storybook. Do NOT update these unless Storybook itself has updated React or Webpack.
Biome, Prettier & Lefthook
If there is a major version upgrade, please consult the release notes on the respective repositories to see if there are any breaking changes.
All versions of craft-baseplate with dependencies
brikdigital/craft-maintenance-lock Version ^5.1
brikdigital/craft-statuspaginator Version ^5.0
clubstudioltd/craft-inline-svg Version ^2.1
craftcms/aws-s3 Version ^2.3.0
craftcms/ckeditor Version ^5.5.0
craftcms/cms Version ^5.9.22
craftcms/postmark Version ^3.1
craftpulse/craft-colour-swatches Version 5.1.0
cweagans/composer-patches Version dev-main#5269693119b245e273db052f12ab23d74aca26fc
hybridinteractive/craft-position-fieldtype Version ^5.0
lexisother/composer-patches-regex Version ^1.1
mmikkel/cp-clearcache Version ^2.0
mmikkel/retcon Version 3.2.2
mostlyserious/craft-markerio Version 2.2.0
nst/craft-sitecopy Version 2.1.1
nystudio107/craft-minify Version ^5.0
nystudio107/craft-retour Version ^5.0.14
nystudio107/craft-seomatic Version ^5.1.21
nystudio107/craft-vite Version ^5.0
putyourlightson/craft-blitz Version ^5.12.9
putyourlightson/craft-datastar Version ^1.0.1
spacecatninja/imager-x Version ^5.2.1
spacecatninja/imager-x-imageboss-transformer Version ^3.0.1
spacecatninja/imager-x-power-pack Version ^1.1.1
spacecatninja/imager-x-video-adapter Version ^1.1.0
spicyweb/craft-embedded-assets Version ^5.4.7
topshelfcraft/wordsmith Version ^5.0.0
verbb/buttonbox Version ^5.0.0
verbb/formie Version ^3.1.23
verbb/hyper Version ^2.3.6
verbb/icon-picker Version ^3.0.10
verbb/knock-knock Version 3.0.5
verbb/navigation Version ^3.0.20
vlucas/phpdotenv Version ^5.4.0
webrgp/craft-ignition-core Version ^1.1
yiisoft/yii2-redis Version ^2.0