Skip to content

A basic Craft module for learning how to extend Craft on CraftQuest.io.

Notifications You must be signed in to change notification settings

CraftQuest/craft-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Craft Module

A started Craft CMS module for learning how to extend Craft CMS using CraftQuest.io tutorials.

Installation

  1. Download the module as a zip file.
  2. Unzip and place the craft-modules directory in your modules directory in the Craft CMS project.
  3. Update your Craft CMS project's config/app.php file to include the module and bootstrap it.
   return [
    'id' => App::env('APP_ID') ?: 'CraftCMS',
    'modules' => [
        'craft-module' => craftquest\CraftModule::class,
    ],
    'bootstrap' => ['craft-module'],
]; 
  1. Update the project's composer.json file to add the module to the autoload section of the file. It should look something like this:
     "autoload": {
    "psr-4": {
      "craftquest\\": "modules/craft-module/src"
    }
  }, 
  1. Rebuild the project's Composer autoload files: composer dump-autoload

About

A basic Craft module for learning how to extend Craft on CraftQuest.io.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages