miranj / craft-boilerplate

A Craft CMS starter project by Miranj

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Miranj

Miranj Craft Boilerplate

A Craft CMS 4 starter project based on Miranj’s project boilerplate (see craft3 for the older version). It includes:

Usage

  1. Open your terminal and run the following command:

    composer create-project miranj/craft-boilerplate:dev-dev /path/to/project
    
  2. Replace instances of "miranj/craft-boilerplate" and "boilerplate" with the handle of the new project in the following locations:

    • composer.json
    • assets/package.json
    • config/app.php
    • src/Module.php
    • serverconfigs/envs/production/env.conf
    • serverconfigs/envs/production/setup.conf
    • serverconfigs/envs/staging/env.conf
    • serverconfigs/envs/staging/setup.conf
  3. Replace instances of "Miranj Craft Boilerplate" / and "Boilerplate" with the title of the new project.

  4. Inspect all FIXME comments in the project and take necessary action.

  5. Assign values to all shared environment variables in .env.example.

  6. Run composer dump-autoload

About

A Craft CMS starter project by Miranj

License:MIT License


Languages

Language:Twig 65.8%Language:JavaScript 15.3%Language:PHP 14.2%Language:CSS 3.3%Language:Shell 1.4%