Skip to content

isabella232/craft-starter-module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Craft CMS Starter Module

This module is the sample for creating a Craft CMS Module. This extends from the Viget Base composer package, so that functionality can be included on the site without having to duplicate it. Be sure to use the latest version of the package in your composer.json.

Installation

  1. Copy ./modules to ./modules
  2. Rename the module for your needs (client acronym makes sense)
  3. Update all of the namespace references
  4. Merge your ./config/app.php with the sample ./config/app.php accounting for the namespace change
  5. Merge your composer.json with the sample composer.json accounting for the namspace change
  6. Run composer dump-autoload -a
  7. Add the following ENV variables to your enviroment file:
    AIRTABLE_API_KEY
    AIRTABLE_BASE
    
    Using the base ID from the Craft Inventory Airtable and the API key from 1Password for the Viget Airtable account.

About

Starter Craft CMS Module

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%