Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions plugin-registration.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ The following is an example of what most plugins would end up looking like when
┗ 📂 myauthor /* Author name */
┗ 📂 myplugin /* Plugin name */
┣ 📂 assets /* CSS, JavaScript and image assets for pages and components */
┣ 📂 components /* Frontend components */
┣ 📂 controllers /* Backend controllers */
┣ 📂 lang /* Localization files */
┃ ┗ 📂 en /* Specific locale folder */
Expand Down Expand Up @@ -92,6 +93,11 @@ The following is an example of what a complex plugin could look like when using
┃ ┗ 📂 scss
┣ 📂 behaviors /* Any custom behaviors provided by the plugin */
┣ 📂 classes /* Any custom classes provided by the plugin */
┣ 📂 components /* Components frontend */
┃ ┣ 📂 record /* Folder for the Record component's partials */
┃ ┃ ┗ 📜 default.htm /* The default partial that's rendered by the component */
┃ ┣ 📂 partials /* Any partials shared by more than one component in the plugin */
┃ ┗ 📜 Record.php /* Record Component that probably handles retrieving and displaying a single record */
┣ 📂 config /* Configuration files */
┃ ┗ 📜 config.php
┣ 📂 console /* Any custom CLI commands provided by the plugin */
Expand Down