Skip to content

Developer friendly EspoCRM extension template using docker for local development.

Notifications You must be signed in to change notification settings

superewald/espo-ext-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EspoCRM extension template for easier development.

It is recommended to use it with espo-docker-dev which supplies containerized espocrm environment.

See setup extensions in espo-docker-dev for more information.

initialize

To intialize the extension do the following steps:

  1. clone the template: git clone https://github.com/superewald/espo-ext-template your-extension
  2. initialize the template: cd your-extension && ./init.sh

build

  1. composer install
  2. npm install
  3. ./build.sh

The script will generate a zip file in the root directory ready to be deployed.

template structure

This template uses a cleaned up directory structure compared to the official espocrm extension template. Instead of alot of nested folders the template uses the following directory mapping:

template original description
app/ files/application/Espo/Modules/<ModuleName> application files (php and json)
client/ files/client/modules/<module-name> client files (JS/CSS/LESS/HTML)
scripts/ scripts/ extension hooks (for (un)install)

The build script creates the needed directory structure for the extension zip file.

About

Developer friendly EspoCRM extension template using docker for local development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published