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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

  1. Create section “Indexes” with all entry types of existing singles
    1. Type: Structure
    2. URI: {parent.uri}/{slug}
    3. Template: _sections/indexes/entry.twig
    4. Propagation: Only save entries to the site they were created in
    5. Default table columns: Entry Type, Status, Date Updated, Authors, Link
  2. Settings > Users > For each user group: Assign permissions for indexes
  3. Navigation > Edit Settings for each menu > Permissions: Enable indexes
    1. Remember to check all sites for menu's, since some menu’s may only be on specific site
  4. Templates
    1. Create templates/_sections/indexes/entry.twig containing {% include '_sections/indexes/' ~ entry.type.handle ~ '.twig' %}
    2. Move all templates of singles into indexes directory and rename each template to the handle of the entry type it is used for
    3. Check the single templates for extends/includes query that use .. in path and may now be incorrect
    4. Search project for usage of section handles of singles in queries. Replace these with section('indexes').type(ENTRY_TYPE_HANDLE)

Execute

When ready to deploy to production

  1. Create manual backup of production database
  2. Run ddev craft site-module/migrate-singles/set-legacy-uri-format locally
    1. Deploy these changes first. The site will be broken now.
  3. After configuration changes have been deployed, execute the following commands directly on the server
    1. php craft site-module/migrate-singles/migrate-singles
    2. php craft site-module/migrate-singles/migrate-fields
    3. If Navigation-plugin is used: php craft site-module/migrate-singles/migrate-nav-nodes
  4. 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

PHP Build Version
Package Version
Requires aodihis/video-utils Version ^3.0.2
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package brikdigital/craft-baseplate contains the following files

Loading the files please wait ...