nystudio107 / site-module
An example module for Craft CMS 3 that lets you enhance your websites with a custom site module
Fund package maintenance!
khalwat
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 19
Watchers: 4
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=7.0.0
This package is auto-updated.
Last update: 2024-10-29 04:58:59 UTC
README
An example module for Craft CMS 3 that lets you enhance your websites with a custom site module.
Requirements
This module requires Craft CMS 3.0.0-RC3 or later.
Installation
To install the plugin, follow these instructions.
-
Copy the
modules
folder into your project root directory -
Either copy the
app.php
into yourconfig/
directory, or copy & paste the*
settings in theapp.php
into your project'sapp.php
file -
Make sure you have the following in your project's
composer.json
:
"autoload": {
"psr-4": {
"modules\\sitemodule\\": "modules/sitemodule/src/"
}
},
- If you didn't have the above
autoload
settings in yourcomposer.json
you'll also need to do the following command from your project root:
composer dump-autoload
site-module Overview
Read the Enhancing a Craft CMS 3 Website with a Custom Module article for details.
site-module Roadmap
Some things to do, and ideas for potential features:
- Initial release
Brought to you by nystudio107