Skip to content

nursanamar/OpenCart-module-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCart Module Template Generator

Create a basic template for Opencart module using Robo

Installation

#Clone the repository
$ git clone https://github.com/nursanamar/OpenCart-module-generator.git
$ cd OpenCart-module-generator

#Install dependecies
$ composer install

#.env file
$ cp .env.example .env

Setup your .env file

Usage

Create new module

$ vendor/bin/robo module:new

Generate controller,model,view,etc files in src

Install module

$ vendor/bin/robo module:install

Copy all file form src/upload into your Opencart directory (from your .env file)

Watch module

$ vendor/bin/robo module:watch

Wacth any changes in src/upload and copy changed files into Opencart directory (from your .env file)

Build module

$ vendor/bin/robo module:build

Generate ocmod file in build folder, add --with-obf option to build the obfuscated version of your ocmod

Deploy module

$ vendor/bin/robo module:deploy

Upload generated ocmod file to the store

Releases

No releases published

Packages

No packages published

Languages